javascript - Disqus throws JS error and doesn't work when logged in -
i'm @ wits end one, can me.
i have website running wordpress (latest version, up-to-date) own custom theme.
i trying add disqus comments it. have installed disqus plugin wp , have done setup. however, experiencing error whenever logged disqus. when iframe loads js error thrown on console stating (from chromes console)
uncaught typeerror: cannot call method 'insertbefore' of null client.js:106 (anonymous function) client.js:106 backbone.view.extend.updatedom client.js:144 backbone.view.extend.updatedom client.js:168 u.alert client.js:106 n.extend._alertmustverify client.js:191 n.extend.render client.js:190 n.extend.redraw client.js:187 b lib.ender.js:128 f.events.trigger lib.ender.js:126 a.extend.set lib.ender.js:131 d._request.disqus.api.call.success client.js:86 (anonymous function) lib.ender.js:49 (anonymous function) lib.ender.js:50 (anonymous function) lib.ender.js:45
from , equivalent error in firefox's console have narrowed problem line 106 in disqus' client.js variable parentnode
equals null.
this.updatedom(function(){ this.el.parentnode.insertbefore(b.render().el,this.el) },this);
this problem occurs though when logged disqus comment. if user commenting guest there no error.
due error being thrown entire disqus iframe not work , becomes unresponsive.
here link site can see error link: l2program.co.uk
cheers in advanced responds. has been driving me mad day! :(
edit: should clarify mean when user logged discuss means. not disqus login login through google/facebook/ect. problem persists through all.
Comments
Post a Comment