Unable to get property 'getElementsByTagName' of undefined or null reference
Steps to reproduce:
- Embed widget with chat & feedback on a page
- At least 1 agent goes online
- Chat tab becomes visible
- Click chat tab
Expected Result:
Chat window opens
Actual Result:
Console error says "SCRIPT5007: Unable to get property 'getElementsByTagName' of undefined or null reference" in file widget-1.4.gz.js"
Upon cursory inspection it appears that there is a content_template for the chat widget that is not actually added to the DOM. This causes the error above once the chat tab tries to actually load the chat interface.
Hello, do you have URL with embedded widget code, so we can check and reproduce issue?
Please note that widget will not work if you will open .html file directly, it should be loaded over http protocol via webserver.