marketyellow3 Posted December 4, 2020 Share Posted December 4, 2020 (edited) Hello, After upgrading my PHP version to 7.2.34 my backoffice wont load anymore more, i have enabled the debug mode and received this order: (3/3) FileLoaderLoadException The file "/home/autotravel/domains/autoonderdelenexpres.nl/public_html/src/PrestaShopBundle/Resources/config/services/adapter/news.yml" does not contain valid YAML: 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 /home/autotravel/domains/autoonderdelenexpres.nl/public_html/src/PrestaShopBundle/Resources/config/services/adapter/news.yml (which is being imported from "/home/autotravel/domains/autoonderdelenexpres.nl/public_html/src/PrestaShopBundle/Resources/config/services.yml"). Does anyone know how to resolve this error? I am using Prestashop 1.7.6.9 and php version 7.2.34 Edited December 4, 2020 by marketyellow3 (see edit history) Link to comment Share on other sites More sharing options...
MarcoGiuliani Posted December 5, 2020 Share Posted December 5, 2020 (edited) Same error to me. Topic at: Does anyone know how to help us? Edited December 5, 2020 by MarcoGiuliani (see edit history) Link to comment Share on other sites More sharing options...
Adrián Posted December 6, 2020 Share Posted December 6, 2020 Hi, were you able to solve this? If so, how did you do it? Thank you! 1 Link to comment Share on other sites More sharing options...
Webtheke Posted December 6, 2020 Share Posted December 6, 2020 (edited) I have also the same problem after restoring a full hosting backup. Edited December 6, 2020 by Webtheke Provide more details (see edit history) Link to comment Share on other sites More sharing options...
marketyellow3 Posted December 7, 2020 Author Share Posted December 7, 2020 Hi, I've solved the problem by just removing the news.yml file in "src/PrestaShopBundle/Resources/config/services/adapter/" if you get an error after removing that file replace the whole src map from Prestashop 1.7.6.9 download. When you restore your server the files are overwritten but new created files will stay on your server. 1 2 Link to comment Share on other sites More sharing options...
astianax Posted February 3, 2021 Share Posted February 3, 2021 Solved by searching the folder "adapter" in an other website. I deleted the old one and replaced it with a good one. It's an upgrade issue. I attach the good on ! adapter.zip 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