cancel
Showing results for 
Search instead for 
Did you mean: 

Tag date invalid in Entity, line: 1

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 (*)

  1. Magento 2.3.x
  2. Simple Product is created.
  3. Customer is created and logged

Steps to reproduce (*)

  1. Add product to cart
  2. Place Order
  3. 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)"} []

3 REPLIES 3

Re: Tag date invalid in Entity, line: 1

Hi, 

you find a solution?

I've some error like your!

 

Tnx

 

Diego

Re: Tag date invalid in Entity, line: 1

HI Diego,

 

No, I  did not...

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