• Hi,

    I have 2 wordpress sites, in one of them I have problems adding new posts, when I add a post (no matter the content) and then I check it in Firefox the page gets full blank, in IE 8 i can see the post but appears the sign that the paga has errors (only in the new post, not in the older post and pages of my blog), the errors that IE announces are:

    parentNode.href’ is not an object or is not null (in spanish), line 419 etc… I check that line and apparently is related with my coment system disqus, the code is a script:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Also there is another error which saids:(in spanish):
    Se esperaba ‘}’
    Línea: 268518089

    I suppose that is: expected ‘}’, and I don’t understand the line number: 268518089.

    Like I said this problem is only for a new post, the rest of the content is just fine. I had to erease the one that I was going to publish.

    Anyone knows something about it?

    Thank You very Much

Viewing 2 replies - 1 through 2 (of 2 total)
  • I added the lines in bold to the above to fix:

    <strong> if (nodes[i].parentNode.href != undefined){</strong>      url = nodes[i].parentNode.href.split('#', 1);
          if (url.length == 1) url = url[0];
          else url = url[1]
         <strong> nodes[i].parentNode.href = url + '#disqus_thread';</strong>     }

    Between the
    <strong></strong>
    elements, sorry!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘parentNode.href' is not null or is not an object’ is closed to new replies.