Techguy42 Posted May 19, 2021 Share Posted May 19, 2021 (edited) Receieved the following error when trying to access BackOffice. Can anyone help? Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: The constant "\PrestaShop\PrestaShop\Core\Currency\ExchangeRateProvider::CLOSED_ALLOWED_FAILURES" is not defined at line 16 (near "- !php/const \PrestaShop\PrestaShop\Core\Currency\ExchangeRateProvider::CLOSED_ALLOWED_FAILURES"). in /var/www/vhosts/domain/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php:720 Stack trace: #0 /var/www/vhosts/domain/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php(363): Symfony\Component\Yaml\Inline::evaluateScalar('!php/const \\Pre...', 768, Array) #1 /var/www/vhosts/domain/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php(126): Symfony\Component\Yaml\Inline::parseScalar('!php/const \\Pre...', 768, NULL, 93, true, Array) #2 /var/www/vhosts/domain/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(771): Symfony\Component\Yaml\Inline::parse('!php/const \\Pre...', 768, Array) #3 /var/www/vhosts/domain/bin /var/www/vhosts/domain/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php on line 167 Edited May 19, 2021 by Techguy42 (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted May 19, 2021 Share Posted May 19, 2021 5 hours ago, Techguy42 said: Can anyone help? Prestashop version, php version, server shared or VPS? Link to comment Share on other sites More sharing options...
Techguy42 Posted May 19, 2021 Author Share Posted May 19, 2021 14 minutes ago, Nickz said: Prestashop version, php version, server shared or VPS? Shared server 7.2.34 - PHP 1.7.5.2 - Prestashop Link to comment Share on other sites More sharing options...
musicmaster Posted May 22, 2021 Share Posted May 22, 2021 This post offered a solution: https://www.prestashop.com/forums/topic/1037846-bug-aprés-restauration/?tab=comments#comment-3312544 You may need Google Translate: Problème identique rencontré sur une 1.7.6.7 Solution : - Se connecter en ftp - Aller dans /src/PrestaShopBundle/Resources/config/services - Renommer adapter par _adapter - Récupérer le dossier adapter d'un ZIP PS 1.7.6.7 tout propre - Mettre ce dossier adapter dans le dossier /src/PrestaShopBundle/Resources/config/services Le back-office est de nouveau accessible. 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