djo1919 Posted April 24 Share Posted April 24 Hello everyone, After transferring a website from server to another server (OVH), I had these problems. PHP version: 8.0 Prestashop: 8.1.5 Do you have a solution for this? Thank you in advance. Regards Warning: simplexml_load_file(): I/O warning : failed to load external entity "" in /src/Core/Localization/CLDR/Reader.php on line 145 Warning: simplexml_load_file(): I/O warning : failed to load external entity "" in /src/Core/Localization/CLDR/Reader.php on line 155 Warning: Attempt to read property "parentLocales" on bool in /src/Core/Localization/CLDR/Reader.php on line 198 Warning: Attempt to read property "parentLocale" on null in /src/Core/Localization/CLDR/Reader.php on line 198 Warning: foreach() argument must be of type array|object, null given in /src/Core/Localization/CLDR/Reader.php on line 198 Warning: Attempt to read property "parentLocales" on bool in /src/Core/Localization/CLDR/Reader.php on line 198 Warning: Attempt to read property "parentLocale" on null in /src/Core/Localization/CLDR/Reader.php on line 198 Warning: foreach() argument must be of type array|object, null given in /src/Core/Localization/CLDR/Reader.php on line 198 Warning: Attempt to read property "numberingSystems" on bool in /src/Core/Localization/CLDR/Reader.php on line 589 Fatal error: Uncaught Error: Call to a member function xpath() on null in /src/Core/Localization/CLDR/Reader.php:589 Stack trace: #0 /src/Core/Localization/CLDR/Reader.php(263): PrestaShop\PrestaShop\Core\Localization\CLDR\Reader->getDigitsData() #1 /src/Core/Localization/CLDR/Reader.php(103): PrestaShop\PrestaShop\Core\Localization\CLDR\Reader->getLocaleData('fr') #2 /src/Core/Localization/CLDR/DataLayer/LocaleReference.php(80): PrestaShop\PrestaShop\Core\Localization\CLDR\Reader->readLocaleData('fr_FR') #3 /src/Core/Data/Layer/AbstractDataLayer.php(91): PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\LocaleReference->doRead('fr-FR') #4 /src/Core/Data/Layer/AbstractDataLayer.php(150): PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->read('fr-FR') #5 /src/Core/Data/Layer/AbstractDataLayer.php(95): PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->propagateRead('fr-FR') #6 /src/Core/Localization/CLDR/LocaleDataSource.php(62): PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->read('fr-FR') #7 /src/Core/Localization/CLDR/LocaleRepository.php(58): PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleDataSource->getLocaleData('fr-FR') #8 /src/Core/Localization/Locale/Repository.php(173): PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleRepository->getLocale('fr-FR') #9 /src/Core/Localization/Locale/Repository.php(149): PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getNumberSpecification('fr-FR') #10 /classes/controller/Controller.php(209): PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale('fr-FR') #11 /classes/controller/FrontController.php(284): ControllerCore->init() #12 /classes/controller/Controller.php(300): FrontControllerCore->init() #13 /classes/Dispatcher.php(510): ControllerCore->run() #14 /index.php(28): DispatcherCore->dispatch() #15 {main} thrown in /src/Core/Localization/CLDR/Reader.php on line 589 Link to comment Share on other sites More sharing options...
ComGrafPL Posted April 24 Share Posted April 24 Check this: 1 Link to comment Share on other sites More sharing options...
djo1919 Posted April 24 Author Share Posted April 24 Thank you. Problem solved after uploading the directory /localization 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