Jump to content

BackOffice Help


Recommended Posts

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 by Techguy42 (see edit history)
Link to comment
Share on other sites

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

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...