• Resolved Asif

    (@asif_rn)


    Hi,

    I’m getting this error message in my devtools console whenever I scroll to the embedded map: “Uncaught ReferenceError: wp is not defined”

    The plugin is working fine otherwise except showing this error message.

    • This topic was modified 1 year, 1 month ago by Asif.
Viewing 6 replies - 16 through 21 (of 21 total)
  • OK, now try to re-enable “aggregate JS” but keep wp-includes/js excluded?

    Thread Starter Asif

    (@asif_rn)

    I re-enabled “aggregate JS” but didn’t add wp-includes/js in the excluded list to check and there’s no error. Only the default values “wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.min.js” are there.

    well, removing the exclusion would indeed have been the next step, but you’re quicker then that, happy to read it now works Asif ??

    Thread Starter Asif

    (@asif_rn)

    Many thanks ?? for sorting this out as I had no clue on what was generating the error.

    Should I keep the async javascript plugin disabled as I was using it to defer some scripts?

    well, you can also defer scripts from AO on the “extra” tab ??

    Thread Starter Asif

    (@asif_rn)

    Oh, perfect… thanks again ??

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Error: wp is not defined’ is closed to new replies.