Support » Plugin: SyntaxHighlighter Evolved » NotFoundError: Node was not found

  • neel4soft

    (@neel4soft)


    I am getting error like

    NotFoundError: Node was not found

    document.getElementsByTagName(“head”)[0].insertBefore( corecss, document.getElementById(“syntaxhighlighteranchor”) );

    Although
    document.getElementsByTagName(“head”)[0]

    and
    document.getElementById(“syntaxhighlighteranchor”)

    are working fine while i tried these from browser console

    please suggest a solution as soon as possible

    https://wordpress.org/plugins/syntaxhighlighter/

Viewing 1 replies (of 1 total)
  • Hi Neel4soft,

    Did you work this out in the end?

    I was having a similar problem and I worked out that it was because I had inserted some inline SVGs in the <head> section of header.php, rather than as the first entry in the <body>.

    Perhaps there’s some other problem with your <head> section?

Viewing 1 replies (of 1 total)
  • The topic ‘NotFoundError: Node was not found’ is closed to new replies.