You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On pages without a #disqus_thread element, a console error appears:
Uncaught TypeError: Cannot read property 'appendChild' of null at k (embed.js:45) at Object.l [as isSerif] (embed.js:45) at h.i.toJSON (embed.js:45) at Object.c.loadEmbed [as _loadEmbed] (embed.js:47) at embed.js:47
Describe the bug
On pages without a #disqus_thread element, a console error appears:
Uncaught TypeError: Cannot read property 'appendChild' of null at k (embed.js:45) at Object.l [as isSerif] (embed.js:45) at h.i.toJSON (embed.js:45) at Object.c.loadEmbed [as _loadEmbed] (embed.js:47) at embed.js:47
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A TypeError should not occur on pages without a disqus thread ID
Screenshots
https://www.dropbox.com/s/9stm55ywaunkw4y/thadd-11.png?raw=1
Specifications:
Additional context
https://wordpress.org/support/topic/new-update-error-on-console/
The text was updated successfully, but these errors were encountered: