Hi all,
It drives me nuts this problem; After an upgrade (don't know which as it was over a few months period with plenty of updates) I'm getting 500 error wherever I'm trying to use the search form to look up for any term.
Also when I click on Tags same problem (500 error).
Logs showing just the following:
Fatal error: Uncaught Error: Class 'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchContext' not found in /home/eshop/public_html/classes/controller/ProductListingFrontController.php:89 Stack trace: #0 /home/eshop/public_html/classes/controller/ProductListingFrontController.php(263): ProductListingFrontControllerCore->getProductSearchContext() #1 /home/eshop/public_html/classes/controller/ProductListingFrontController.php(545): ProductListingFrontControllerCore->getProductSearchVariables() #2 /home/eshop/public_html/controllers/front/listing/SearchController.php(70): ProductListingFrontControllerCore->doProductSearch('catalog/listing...', Array) #3 /home/eshop/public_html/classes/controller/Controller.php(189): SearchControllerCore->initContent() #4 /home/eshop/public_html/classes/Dispatcher.php(367): ControllerCore->run() #5 /home/eshop/public_html/index.php(28): DispatcherCore->dispatch() #6 {main} thrown in /home/eshop/public_html/classes/controller/ProductListingFrontController.php on line 89
I've tried disable-enable SEO, raise the PHP limits a lot (site runs on a VM with plenty of resources), change various PHP versions (from 5.6 to 7.2) but no luck. Site is running 1.6.24 with the default theme.
I've tried with the same theme on a new installation on the same server with same settings and search is working so I guess is a bug related to my content or so?
Any help is very much appreciated.