XF 2.2 XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '' for key

questlot

Active member
Every messages sent or threads created or reply doesn't get posted successfully. This error always popup to prevent the content being posted

XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '' for key 'xf_search_index.title_message_metadata' in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 83
  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 219
  5. XF\Db\AbstractAdapter->insert() in src/XF/Search/Source/MySqlFt.php at line 118
  6. XF\Search\Source\MySqlFt->index() in src/XF/Search/Search.php at line 66
  7. XF\Search\Search->index() in src/XF/Behavior/Indexable.php at line 80
  8. XF\Behavior\Indexable->XF\Behavior\{closure}() in src/XF.php at line 653
  9. XF::triggerRunOnce() in src/XF/Mvc/Dispatcher.php at line 164
  10. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  11. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
  12. XF\App->run() in src/XF.php at line 806
  13. XF::runApp() in index.php at line 23
Please any quick fix for this?
 
Back
Top Bottom