XF 2.2 I get this XF\Db\Exception

Abraham54

Well-known member
Strange enough I get this foult bij posting
XF\Db\Exception: MySQL query error [1048]: Column 'news_feed_id' cannot be null in src/XF/Db/AbstractStatement.php at line 230

  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 79
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 220
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1514
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1246
  7. XF\Mvc\Entity\Entity->save() in src/XF/Repository/NewsFeed.php at line 55
  8. XF\Repository\NewsFeed->publish() in src/XF/Behavior/NewsFeedPublishable.php at line 110
  9. XF\Behavior\NewsFeedPublishable->publish() in src/XF/Behavior/NewsFeedPublishable.php at line 37
  10. XF\Behavior\NewsFeedPublishable->postSave() in src/XF/Mvc/Entity/Entity.php at line 1273
  11. XF\Mvc\Entity\Entity->save() in src/XF/Service/Thread/Replier.php at line 214
  12. XF\Service\Thread\Replier->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
  13. XF\Service\Thread\Replier->save() in src/XF/Pub/Controller/Thread.php at line 607
  14. XF\Pub\Controller\Thread->actionAddReply() in src/XF/Mvc/Dispatcher.php at line 352
  15. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  16. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  17. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  18. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2352
  19. XF\App->run() in src/XF.php at line 524
  20. XF::runApp() in index.php at line 20

I thought maybe a reparation installation would do the trick, but I got this foult:

XF\Db\Exception: MySQL query error [1364]: Field 'job_id' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 230

  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 79
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 220
  5. XF\Db\AbstractAdapter->insert() in src/XF/Job/Manager.php at line 527
  6. XF\Job\Manager->_enqueue() in src/XF/Job/Manager.php at line 469
  7. XF\Job\Manager->enqueueUnique() in src/XF/Install/Helper.php at line 549
  8. XF\Install\Helper->insertRebuildJob() in src/XF/Install/Controller/Upgrade.php at line 249
  9. XF\Install\Controller\Upgrade->actionRebuild() in src/XF/Mvc/Dispatcher.php at line 352
  10. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  11. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  12. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  13. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2352
  14. XF\App->run() in src/XF.php at line 524
  15. XF::runApp() in install/index.php at line 14
How to repair this:
 
Top