NinaMcI
Active member
I've upgraded from xf1 to xf2 on a test installation of my site and have installed XFRM 2.1.6. When trying to create a new resource, I get the following error:
XF\Db\Exception: MySQL query error [1364]: Field 'xfa_rmmp_cgv' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228
XF\Db\Exception: MySQL query error [1364]: Field 'xfa_rmmp_cgv' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228
- XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
- XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
- XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 221
- XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1463
- XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1195
- XF\Mvc\Entity\Entity->save() in src/addons/XFRM/Service/ResourceItem/Create.php at line 288
- XFRM\Service\ResourceItem\Create->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
- XFRM\Service\ResourceItem\Create->save() in src/addons/XFRM/Pub/Controller/Category.php at line 269
- XFRM\Pub\Controller\Category->actionAdd() in src/XF/Mvc/Dispatcher.php at line 350
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
- XF\App->run() in src/XF.php at line 391
- XF::runApp() in index.php at line 20