Uncaught TypeError: Cannot read property 'appendChild' of null

Uncaught TypeError: Cannot read property ‘appendChild’ of null
at q._createIFrame (external_api.js:1)
at new q (external_api.js:1)
at session.php:371