Brineel Posted June 30, 2021 Share Posted June 30, 2021 Hi I get this error when trying to log into my admin panel prestashop 1.7.6.5 AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Yaml\\Exception\\ParseException: The constant "\\PrestaShop\\PrestaShop\\Adapter\\News\\NewsDataProvider::CLOSED_ALLOWED_FAILURES" is not defined at line 10 (near "- !php/const \\PrestaShop\\PrestaShop\\Adapter\\News\\NewsDataProvider::CLOSED_ALLOWED_FAILURES"). in /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php:720\nStack trace:\n#0 /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php(363): Symfony\\Component\\Yaml\\Inline::evaluateScalar('!php/const \\\\Pre...', 768, Array)\n#1 /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php(126): Symfony\\Component\\Yaml\\Inline::parseScalar('!php/const \\\\Pre...', 768, NULL, 88, true, Array)\n#2 /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(771): Symfony\\Component\\Yaml\\Inline...' Link to comment Share on other sites More sharing options...
ComGrafPL Posted June 30, 2021 Share Posted June 30, 2021 4 hours ago, Brineel said: Hi I get this error when trying to log into my admin panel prestashop 1.7.6.5 AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Yaml\\Exception\\ParseException: The constant "\\PrestaShop\\PrestaShop\\Adapter\\News\\NewsDataProvider::CLOSED_ALLOWED_FAILURES" is not defined at line 10 (near "- !php/const \\PrestaShop\\PrestaShop\\Adapter\\News\\NewsDataProvider::CLOSED_ALLOWED_FAILURES"). in /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php:720\nStack trace:\n#0 /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php(363): Symfony\\Component\\Yaml\\Inline::evaluateScalar('!php/const \\\\Pre...', 768, Array)\n#1 /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php(126): Symfony\\Component\\Yaml\\Inline::parseScalar('!php/const \\\\Pre...', 768, NULL, 88, true, Array)\n#2 /var/www/vhosts/shopecohealth.co.za/httpdocs/presta17/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(771): Symfony\\Component\\Yaml\\Inline...' Whats you PHP version? Check this solution: 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