RM 2.1 Can´t uninstall

Motobaka

Active member
XF\Db\Exception: MySQL query error [1364]: Field 'created_by' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 218
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1463
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1195
  7. XF\Mvc\Entity\Entity->save() in src/XF/Install/InstallHelperTrait.php at line 422
  8. XF\AddOn\AbstractSetup->createWidget() in src/addons/XFRM/Setup.php at line 1159
  9. XFRM\Setup->XFRM\{closure}() in src/addons/XFRM/Setup.php at line 76
  10. XFRM\Setup->installStep3() in src/XF/AddOn/StepRunnerInstallTrait.php at line 60
  11. XFRM\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 27
  12. XFRM\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 398
  13. XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 350
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  15. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  16. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  17. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
  18. XF\App->run() in src/XF.php at line 391
  19. XF::runApp() in admin.php at line 13

I get that message. Not sure if caused by RM.
 
This isn't related to the RM. It appears an add-on has added a "created_by" field to the widget system but hasn't defined the field properly (with a default). Unfortunately, it's hard to guess what add-on may have done this, but you'd need to get guidance by the author (and they need to release a fix with the correct field definition).
 
Top Bottom