Results 1 to 3 of 3

Thread: Search index problem

  1. #1
    User tetrijeb's Avatar
    Join Date
    04-19-12.
    Location
    Bosnia&Herzegovina
    Posts
    114

    Default Search index problem

    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
    Last edited by tetrijeb; 09/10/2016 at 12:42.

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,287

    Default

    Hi,

    should be this issue: https://github.com/contao/core/issues/8460
    Contao Community Moderator
    → Support options

  3. #3
    User tetrijeb's Avatar
    Join Date
    04-19-12.
    Location
    Bosnia&Herzegovina
    Posts
    114

    Default

    Quote Originally Posted by xchs View Post
    I've implemented solution stated there, so I will check if problem is resolved.

    Thank you.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •