Hello,
I am upgrading magento 2.2.3 to 2.2.4 using composer but after upgrade while running setup:upgrade command I am stuck near Magento_Sales and then it is throwing error
“Warning: SimpleXMLElement::addAttribute(): string is not in UTF-8 in /chroot/home/a7e7c3c6/nodns.bulkherbstore.com/html/vendor/magento/module-shipping/Model/Simplexml/Element.php on line 27”
Please help me to upgrade magento to 2.2.4/2.2.5 version.
Thanks
Why do not you want to check the line you was exactly pointed to?
this line contains below code
parent::addAttribute($name, $value, $namespace);
Wrap the line to a try.. catch
block, catch the exception, and check the $name
and $value
variables for incorrect UTF-8 characters.
Now, I am getting this error on checkout.
Also no shipping method is displayed on there. And if I removed zipcode then shipping method is displaying there but Can move without zipcode.
Learn how to upload images directly to the forum, and duplicate the messages in the textual form.