Jump to content

ContextErrorException


Recommended Posts

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

  • 2 weeks later...

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