Forms are not appearing - "global is not defined"


  • Forms are loaded but cannot be edited in production, or Add to Cart button disappears,
    meanwhile error like 
    Uncaught (in promise) ReferenceError: global is not defined will be observed in the front-end.


  • DXP 7.1
  • DXP 7.2


  • Require a fix with the ticket LPS-196120 from Liferay Support
  • OR to work around the behavior: either disable the googletagmanager or removing the tag reference if not needed

Additional Information

  • To test and verify the issue, we can add into local host file and clearing up browser cache then verify this in the live site
Was this article helpful?
0 out of 0 found this helpful