Issue
- There are "Uncaught (in promise) ReferenceError: global is not defined" or "Error: Load timeout for modules" errors reported in the browser console and cause some abnormal behavior like some buttons disappearing, form not loading, etc.
- The issue mainly affects sites where Google Tag Manager (along with Linkin script) is used.
Environment
- Liferay DXP 7.1
- Liferay DXP 7.3
Resolution
- This was fixed by LPS-196120, please open a help center ticket to request a hotfix.
Additional Information
- To determine if this is the issue the user is experiencing, follow the following steps:
- Go to the page where the issue can be reproduced.
- Open the Developer Tools in the browser -> Switch to Network tab -> Refresh the page.
- Search for "insight.min.js".
- From the Initiator tab, we can see that this script is from GTM(GoogleTagManager).
- Blacklist the domain "snap.licdn.com" in hosts file to see if the form/button loads as expected.
127.0.0.1 snap.licdn.com
- If the page can be loaded correctly after this, then the issue described in this article is the issue that user is experiencing.
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión