- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tag date invalid in Entity, line: 1
Hello Guys,
I got this erro since Magento 2.3.2 then I did upgrade to Magento 2.3.4 and it still ocurred.
Thank you so much
Preconditions (*)
- Magento 2.3.x
- Simple Product is created.
- Customer is created and logged
Steps to reproduce (*)
- Add product to cart
- Place Order
- Click on the order number
2020-09-27 20:40:59] main.CRITICAL: DOMDocument::loadHTML(): Tag date invalid in Entity, line: 1 {"exception":"[object] (InvalidArgumentException(code: 2): DOMDocument::loadHTML(): Tag date invalid in Entity, line: 1 at public_html/loja/vendor/magento/framework/Escaper.php:89)"} []
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Tag date invalid in Entity, line: 1
Hi,
you find a solution?
I've some error like your!
Tnx
Diego
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Tag date invalid in Entity, line: 1
HI Diego,
No, I did not...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Tag date invalid in Entity, line: 1
Hi !!!
Override file from vendor to theme
/vendor/magento/module-sales/view/frontend/templates/order/order_date.phtml
/app/design/frontend/vendor/theme/Magento_Sales/templates/order/order_date.phtml
Replace '<date>' with '<span>' and '</date>' with '</span>'