• Resolved grantdb

    (@sixer)


    So I love this plugin but now I am getting an error in google dev tools:

    (index):32 Uncaught ReferenceError: hljs is not defined

    Any idea what is going on?
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Not sure but it sounds like an issue with JavaScript on the page. Do you have a URL where I can take a look?

    Thread Starter grantdb

    (@sixer)

    Sure it’s a preview post.. here my site page
    Thanks!

    Plugin Author Jeff Starr

    (@specialk)

    Hmm weird. It may have something to do with caching. Best advice is to do some basic troubleshooting to find out which plugin (or theme) is causing problems.

    Thread Starter grantdb

    (@sixer)

    Well I have Autoptimize disabled for js completley. Cleared all cache (Cache-enabler). Hmm it could be async-javascript… let me check

    Plugin Author Jeff Starr

    (@specialk)

    What you describe does not happen on default WP. So it’s something local, probably a plugin. Probably related to caching. But that’s just a guess

    Thread Starter grantdb

    (@sixer)

    Yep that was it! SO I added highlight-core.js to exceptions list in Async-javascript plugin and all is well with the universe.
    This could be good info for others!
    Thanks again for your help!
    Grant

    Plugin Author Jeff Starr

    (@specialk)

    Great, glad you got it sorted, Grant. Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘(index):32 Uncaught ReferenceError: hljs is not defined’ is closed to new replies.