Jump to content

Symfony error in app/bootstrap.php.cache


Recommended Posts

Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SymfonyContainer" from namespace "PrestaShop\PrestaShop\Adapter". Did you forget a "use" statement for another namespace? in /modules/ps_themecusto/controllers/admin/AdminPsThemeCustoConfiguration.php:521 Stack trace: #0 /modules/ps_themecusto/controllers/admin/AdminPsThemeCustoConfiguration.php(396): AdminPsThemeCustoConfigurationController->setFinalList(Array) #1 /classes/controller/Controller.php(205): AdminPsThemeCustoConfigurationController->initContent() #2 /classes/Dispatcher.php(379): ControllerCore->run() #3 /admin012xs7hoe/index.php(95): DispatcherCore->dispatch() #4 {main} Next LogicException: Request stack is empty in /app/bootstrap.php.cache:3224 Stack trace: #0 [internal function]: Symfony\Component\HttpKernel\HttpKernel->terminateWithException(Object(Symfony\Component\Debug\Exception\ClassNotFoundException)) #1 /vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php(606): call_user_func(Arr in /app/bootstrap.php.cache on line 3224

 

I have a problem. How do you rub him?

Link to comment
Share on other sites

  • 3 months later...
  • 10 months later...

Same error here.

Prestashop 1.7.2.4

"Fatal error: Uncaught Symfony\Component\Debug\Exception\UndefinedMethodException: Attempted to call an undefined method named "getLocale" of class "Language". Did you mean to call "getLocaleByIso"? in /home/lusitani/www/store/modules/ps_emailalerts/ps_emailalerts.php:552 Stack trace: #0 /home/lusitani/www/store/classes/Hook.php(895): Ps_EmailAlerts->hookActionUpdateQuantity(Array) #1 /home/lusitani/www/store/classes/Hook.php(327): HookCore::coreCallHook(Object(Ps_EmailAlerts), 'hookactionUpdat...', Array) #2 /home/lusitani/www/store/classes/Hook.php(843): HookCore::callHookOn(Object(Ps_EmailAlerts), 'actionUpdateQua...', Array) #3 /home/lusitani/www/store/src/Adapter/LegacyHookSubscriber.php(290): HookCore::exec('actionUpdateQua...', Array, '63', true) #4 [internal function]: PrestaShop\PrestaShop\Adapter\LegacyHookSubscriber->__call('call_6_63', Array) #5 /home/lusitani/www/store/src/PrestaShopBundle/Service/Hook/HookDispatcher.php(87): call_user_func(Array, Object(PrestaShopBundle\Service\Hook\RenderingHookEvent), 'acti in /home/lusitani/www/store/app/bootstrap.php.cache on line 3224"

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...