jbesiga Posted June 20, 2019 Share Posted June 20, 2019 (edited) Aparentemente no he cambiado nada y tengo un error 500 en el backoffice. También en el FrontOffice cuando elijo en el menú una categoria de productos me sale una página en blanco. Si activo el modo debug en el Frontoffice me sale lo siguiente: (1/1) ClassNotFoundException Attempted to load class "HookDispatcher" from namespace "PrestaShop\Module\FacetedSearch". Did you forget a "use" statement for e.g. "PrestaShop\PrestaShop\Core\Hook\HookDispatcher", "PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher" or "PrestaShopBundle\Service\Hook\HookDispatcher"? in ps_facetedsearch.php line 101 at Ps_Facetedsearch->__construct() at ReflectionClass->newInstance()in Container.php line 130 at Container->makeInstanceFromClassName('ps_facetedsearch', array('ps_facetedsearch' => true))in Container.php line 163 at Container->doMake('ps_facetedsearch', array('ps_facetedsearch' => true))in Container.php line 176 at Container->make('ps_facetedsearch')in ServiceLocator.php line 65 at ServiceLocator::get('ps_facetedsearch')in Module.php line 1137 at ModuleCore::coreLoadModule('ps_facetedsearch')in Module.php line 1116 at ModuleCore::getInstanceByName('ps_facetedsearch')in Hook.php line 880 at HookCore::exec('productSearchProvider', array('query' => object(ProductSearchQuery), 'cookie' => object(Cookie), 'cart' => object(Cart)), null, true)in ProductListingFrontController.php line 233 at ProductListingFrontControllerCore->getProductSearchProviderFromModules(object(ProductSearchQuery))in ProductListingFrontController.php line 269 at ProductListingFrontControllerCore->getProductSearchVariables()in ProductListingFrontController.php line 545 at ProductListingFrontControllerCore->doProductSearch('catalog/listing/category', array('entity' => 'category', 'id' => 3))in CategoryController.php line 137 at CategoryControllerCore->initContent()in Controller.php line 281 at ControllerCore->run()in Dispatcher.php line 511 at DispatcherCore->dispatch()in index.php line 28. En el backOffice me da error 500 cuando accedo a los módulos con este error en el log: CRITICAL18:34:55 php Class 'PrestaShop\Module\FacetedSearch\HookDispatcher' not found INFO18:34:55 php User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". CRITICAL18:34:55 request Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "HookDispatcher" from namespace "PrestaShop\Module\FacetedSearch". Did you forget a "use" statement for e.g. "PrestaShop\PrestaShop\Core\Hook\HookDispatcher", "PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher" or "PrestaShopBundle\Service\Hook\HookDispatcher"?" at /homepages/17/d361874449/htdocs/prestashop/modules/ps_facetedsearch/ps_facetedsearch.php line 101 Edited June 20, 2019 by jbesiga (see edit history) Link to comment Share on other sites More sharing options...
solucioneseb Posted June 22, 2019 Share Posted June 22, 2019 Buenos días, Revisa la versión que tengas en el servidor de PHP y que sea compatible con tu instalacion de PS Espero te sea de ayuda, Salds! Link to comment Share on other sites More sharing options...
jbesiga Posted June 23, 2019 Author Share Posted June 23, 2019 La version de prestashop que estoy usando es 1.7.5.2, PHP 7.2 y MySql 5.7 Link to comment Share on other sites More sharing options...
teapotjames Posted July 22, 2019 Share Posted July 22, 2019 I've had exactly the same issue with both the Faceted Search and Addons Connect modules after upgrading locally and then pushing changes to the server via GIT. If you have console/terminal access to the server via cPanel or something you can run the… composer dumpautoload command in both the root Prestashop folder and the ps_facetedsearch root folder - this fixed the issue for me. Thanks, James 1 Link to comment Share on other sites More sharing options...
jbesiga Posted July 24, 2019 Author Share Posted July 24, 2019 Thank you James! I will try it Best regards Javier Link to comment Share on other sites More sharing options...
Mercader Virtual Posted May 14, 2020 Share Posted May 14, 2020 On 7/22/2019 at 5:12 AM, teapotjames said: I've had exactly the same issue with both the Faceted Search and Addons Connect modules after upgrading locally and then pushing changes to the server via GIT. If you have console/terminal access to the server via cPanel or something you can run the… composer dumpautoload command in both the root Prestashop folder and the ps_facetedsearch root folder - this fixed the issue for me. Thanks, James Works just fine. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now