eSportBG Posted March 8, 2023 Share Posted March 8, 2023 Hello colleagues! I have a problem with prestashop, which I spent the last two days searching and reading what caused it. I'm pretty sure there is some cached data issue or some template is broken or missing. Please help me solve this case. Thanks! CRITICAL00:37:08phpUncaught Exception: An exception has been thrown during the rendering of a template ("You have requested a non-existent service "prestashop.adapter.multistore_feature"."). CRITICAL00:37:08requestUncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("You have requested a non-existent service "prestashop.adapter.multistore_feature".")." at /home/cheddo/public_html/src/PrestaShopBundle/Resources/views/Admin/layout.html.twig line 37 Link to comment Share on other sites More sharing options...
Eutanasio Posted April 30, 2023 Share Posted April 30, 2023 it seems that there might be an issue with a missing service in your PrestaShop setup. To fix this issue, please follow the steps below: Backup your files and database: Before making any changes to your PrestaShop installation, it's essential to back up your files and database to avoid any data loss in case something goes wrong. Verify your PrestaShop version: Make sure you're running a compatible version of PrestaShop. If you're using an older version, consider upgrading to the latest stable version. Clear cache manually: Sometimes, the issue may be due to the cache. To clear the cache manually, navigate to the following directory: /var/cache/ Delete the folders prod and dev within this directory. Check for missing or outdated modules: Make sure that all the modules you're using are up-to-date and compatible with your PrestaShop version. Also, check if any module is missing that may provide the 'prestashop.adapter.multistore_feature' service. Reinstall the Core module: It's possible that the Core module, which should provide the 'prestashop.adapter.multistore_feature' service, may be corrupted or not installed correctly. Try reinstalling the Core module by following these steps: a. Go to the "Modules" menu in your PrestaShop back office. b. Search for the "Core" module and uninstall it. c. Reinstall the "Core" module and check if the issue is resolved. Check your theme's template files: Verify if any template file related to the multistore feature is missing or broken in your theme. If you find any issues, fix them or revert to the default theme to check if the issue is resolved. Debugging: If the issue persists, enable the debug mode in your PrestaShop configuration to get more detailed error messages. To enable debug mode, open the config/defines.inc.php file and change the following line: define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); Save the file and refresh your website. You should now see more detailed error messages that might help you pinpoint the issue. If you've followed these steps and the issue still persists, it might be a more complex problem requiring deeper investigation. In that case, consider reaching out to the PrestaShop community forum or seeking assistance from a professional developer. Link to comment Share on other sites More sharing options...
dloghis Posted February 1 Share Posted February 1 Hello guys, In my case didn't work. i have in defines.inc.php define('_PS_MODE_DEV_', true); define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); I have change define('_PS_MODE_DEV_', false); but the problem persists An exception has been thrown during the rendering of a template ("You have requested a non-existent service "mbo.ps_accounts.installer"."). [Twig\Error\RuntimeError 0] Link to comment Share on other sites More sharing options...
[email protected] Posted June 18 Share Posted June 18 That step solved my problem Quote Clear cache manually: Sometimes, the issue may be due to the cache. To clear the cache manually, navigate to the following directory: /var/cache/ Delete the folders prod and dev within this directory. be aware that if you enable or disable debug mode via changing manually the file can cause problem with the enable disable that's available through Setting > Peformance in the admin there's no need normally to change the file manually 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