vallka Posted July 15, 2019 Share Posted July 15, 2019 (edited) $ php install/upgrade/upgrade.php PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "prestashop.core.localization.cldr.locale_repository". Did you mean one of these: "prestashop.core.localization.pack.import.importer", "prestashop.core.localization.pack.loader.local", "prestashop.core.localization.pack.loader.remote"? in /mnt/d/Users/Valentine/Documents/GitLab/gellifique/gellifique-webshop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:348 Stack trace: #0 /mnt/d/Users/Valentine/Documents/GitLab/gellifique/gellifique-webshop/install/upgrade/php/ps_1760_copy_data_from_currency_to_currency_lang.php(55): Symfony\Component\DependencyInjection\Container->get('prestashop.core...') #1 [internal function]: ps_1760_copy_data_from_currency_to_currency_lang() #2 /mnt/d/Users/Valentine/Documents/GitLab/gellifique/gellifique-webshop/src/PrestaShopBundle/Install/Upgrade.php(483): call_user_func_array('ps_1760_copy_da...', Array) #3 /mnt/d/Users/Valenti in /mnt/d/Users/Valentine/Documents/GitLab/gellifique/gellifique-webshop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php on line 348 $ php -v PHP 7.2.19-0ubuntu0.18.04.1 (cli) (built: Jun 4 2019 14:48:12) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.19-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies Edited July 15, 2019 by vallka (see edit history) Link to comment Share on other sites More sharing options...
AD-DEV Posted August 13, 2019 Share Posted August 13, 2019 Hi vallka, I had the same problem, and after googling a bit, I found a solution here :https://github.com/PrestaShop/PrestaShop/pull/14620/commits/b00b69060996cb9581f38c19171a1458b9e5971f They found a problem with the 'upgrade.php' file, that is not loading the Symfony kernel correctly (they fixed it only 20 days ago). You have to edit the file to add some includes (see link above for the file diff). Worked like a charm for me 🙂 Best regards, -- Arnaud Dohogne (AD-DEV) 1 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