Cozzi Posted June 15 Share Posted June 15 (edited) Hello, After upgrade from 1.7 to 8.1.6 is administration works but homepage has error. Can you help me some solution please? PHP:7.4.33 Fatal error: Uncaught PrestaShop\PrestaShop\Core\Exception\ContainerNotFoundException: Kernel Container is not available in /home/www/firelovers.com/www/firelovers.com/src/Adapter/ContainerFinder.php:77 Stack trace: #0 /home/www/firelovers.com/www/firelovers.com/classes/module/Module.php(1674): PrestaShop\PrestaShop\Adapter\ContainerFinder->getContainer() #1 /home/www/firelovers.com/www/firelovers.com/classes/module/Module.php(1663): ModuleCore::getModuleRepository() #2 /home/www/firelovers.com/www/firelovers.com/classes/Hook.php(878): ModuleCore::getNativeModuleList() #3 /home/www/firelovers.com/www/firelovers.com/classes/Dispatcher.php(606): HookCore::exec() #4 /home/www/firelovers.com/www/firelovers.com/classes/Dispatcher.php(243): DispatcherCore->loadRoutes() #5 /home/www/firelovers.com/www/firelovers.com/classes/Dispatcher.php(201): DispatcherCore->__construct() #6 /home/www/firelovers.com/www/firelovers.com/index.php(28): DispatcherCore::getInstance() #7 {main} thrown in /home/www/firelovers.com/www/firelovers.com/src/Adapter/ContainerFinder.php on line 77 Edited June 15 by Cozzi (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted June 15 Share Posted June 15 First try with clearing cache in VAR folder, then enable debug mode and try with PHP 8+. Most probably theme or some modules not working on PS 8.1. Link to comment Share on other sites More sharing options...
Cozzi Posted June 15 Author Share Posted June 15 1 minute ago, ComGrafPL said: First try with clearing cache in VAR folder, then enable debug mode and try with PHP 8+. Most probably theme or some modules not working on PS 8.1. Thank you, I already tried that. I deleted the cache and VAR folders. I also uploaded the modules folder from the new downloaded prestashop version. It is still the same. I am trying it with and without the debug mode. Link to comment Share on other sites More sharing options...
Webski Gość Posted June 15 Share Posted June 15 Hello 👋🏻! I have few questions: Can you describe how you performed the version upgrade and from exactly which PrestaShop version (1.7.5/6/7/8)? Do you have a backup made before the update? Why I ask? Because it makes a huge difference what version exactly the update was made from and how it was made (there are quite a few dependencies and they vary from version to version). The most common problem arises due to modules, overrides and incompatibility of the theme with a newer version. Link to comment Share on other sites More sharing options...
Cozzi Posted June 15 Author Share Posted June 15 1) It was 1.7.8. and it was the todays actualized 1-clic upgrade module. All modules was desibled. 2) I have backup but I am not sure if it is working. Because my data is over 20GB and It was backuping for 5 hours and the process didn´t ended. I have some old modules deactivated but it is not possible to delete them at the admin. Link to comment Share on other sites More sharing options...
Webski Gość Posted June 15 Share Posted June 15 Ok, of course You can delete modules manually. By deleting selected module from the folder modules/<module_name_folder>, removing information from the database table ps_module and related tables. Anyway, let's focus on errors You have now on front Kernel Container is not available in ... Adapter/ContainerFinder.php:77 This can happen due to various reasons, such as file permission issues, incomplete upgrades, or compatibility issues with certain modules or customizations. Check Error Logs in www/yourdomainname.com/vars/logs/ prod.log or dev.log Temporarily disable all third-party modules installed on your PrestaShop store (Advanced Parameters → Performance → Disable non built-in modules) Disable (in Advanced Parameters→ Performance) Smarty cache & cache for CSS, JS and Apache optimization Clean cache in www/yourdomainname.com/vars/cache folder If You can, try to test store with default theme (classic) Check related topics with similar error:👉🏻 https://github.com/PrestaShop/PrestaShop/issues/15503#issuecomment-530800626 I hope my suggestions have pointed you in the right direction. 🚀 Link to comment Share on other sites More sharing options...
Cozzi Posted June 16 Author Share Posted June 16 I did all this before I sent this post. It would not be that easy. Thank you. 1 Link to comment Share on other sites More sharing options...
Nickz Posted June 16 Share Posted June 16 4 minutes ago, Cozzi said: I did all this before I sent this post. It would not be that easy. Thank you. I think that one fits: https://github.com/PrestaShop/PrestaShop/issues/33038 Do you have back ups of the older version? Did the older version work? 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