In error log related to my website, one of the most common errors is the next one:
Code:
[10-Sep-2016 11:27:57 Europe/Sarajevo] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Duplicate entry '....SOME TEXT HERE...', '4feb98dc07d3c1340e07a9102131b9a5'))' thrown in /var/www/vhosts/f***/httpdocs/system/modules/core/library/Contao/Database/Statement.php on line 295
#0 /var/www/vhosts/***/httpdocs/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 /var/www/vhosts/***/httpdocs/system/modules/core/library/Contao/Search.php(214): Contao\Database\Statement->execute()
#2 /var/www/vhosts/***/httpdocs/system/modules/core/classes/FrontendTemplate.php(330): Contao\Search::indexPage(Array)
#3 /var/www/vhosts/***/httpdocs/system/modules/core/classes/FrontendTemplate.php(124): Contao\FrontendTemplate->addToSearchIndex()
#4 /var/www/vhosts/***/httpdocs/system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
#5 /var/www/vhosts/***/httpdocs/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#6 /var/www/vhosts/***/httpdocs/index.php(20): Contao\FrontendIndex->run()
#7 {main}
I have no idea what to change here to avoid it. Any advice is welcomed.
Contao version 3.5.16
Bookmarks