I just found out that once the SFC is activated, many of the meta and link tags which are placed inside <head>(before SFC is activated), are all located inside <body> tag including <meta id=”syntaxhighlighteranchor”> (reqd for syntaxhighlighter plugin).
Hence node not found error, bcos it is searching for “syntaxhighlighteranchor” id inside head but it is found inside body.
I used Google chrome inspect element and found out this behaviour in this page – https://theopentutorials.com/2011/06/12/online-tests/java/arrays/java-arrays-1/
I still haven’t tested whether this is theme specific or not.