John H. Posted January 30, 2020 Share Posted January 30, 2020 From the errorlog file [Thu Jan 30 06:13:40.029060 2020] [php7:error] [pid 30313] [client xxx.xxx.xxx.xxx:47546] PHP Fatal error: Uncaught Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException: [ERROR 522] Validation failed: no DTD found ! (in n/a - line 2, column 21)\n[ERROR 68] xmlParseEntityRef: no name (in n/a - line 27, column 67) in /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:62\nStack trace:\n#0 /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php(131): Symfony\\Component\\Config\\Util\\XmlUtils::parse('<?xml version="...', NULL)\n#1 /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/XliffFileLoader.php(54): Symfony\\Component\\Config\\Util\\XmlUtils::loadFile(Object(Symfony\\Component\\Finder\\SplFileInfo))\n#2 /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/XliffFileLoader.php(42): Symfony\\Component\\Translation\\Loader\\XliffFileLoader->extract(Object(Symfony\\Component\\Finder\\SplFileInfo), Object(Symfony\\Component\\Translation\\MessageCatalogue), 'ShopTheme')\n#3 /var/www/h in /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/XliffFileLoader.php on line 56 From the site (1/1) ContextErrorException Notice: Undefined index: MAD in LocalizedCurrency.php line 58 at LocalizedCurrency->get_name()in AccessorTrait.php line 30 at LocalizedObject->__object_get('name')in AccessorTrait.php line 21 at LocalizedObject->__get('name')in LocalizedObjectWithFormatter.php line 34 at LocalizedObjectWithFormatter->__get('name')in Repository.php line 239 at Repository->getCurrency('MAD')in Currency.php line 105 at CurrencyCore->__construct(4)in Currency.php line 611 at CurrencyCore::getCurrencyInstance(4)in Tools.php line 649 at ToolsCore::setCurrency(object(Cookie))in FrontController.php line 356 at FrontControllerCore->init()in Controller.php line 236 at ControllerCore->run()in Dispatcher.php line 428 at DispatcherCore->dispatch()in index.php line 28 Thank in advance for the help Link to comment Share on other sites More sharing options...
John H. Posted February 9, 2020 Author Share Posted February 9, 2020 On 1/30/2020 at 4:06 PM, ndiaga said: Hi, Try to use an isset condition for that index MAD . How do I do that. Can you tell me in which file I can do that. Link to comment Share on other sites More sharing options...
John H. Posted February 9, 2020 Author Share Posted February 9, 2020 Found the issue if the store is in a different language than the one you are logged on with. you need to change your profile to match the store language then you will see it. This is a bug since in that section you do not have the ability to change language. Found the info here https://forge.prestashop.com/browse/BOOM-4268 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