Forums
Home / Plugin: MapPress Maps for WordPress / Error: wp is not defined
(@asif_rn)
1 year, 1 month ago
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.
(@optimizingmatters)
OK, now try to re-enable “aggregate JS” but keep wp-includes/js excluded?
wp-includes/js
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 ??
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 ??
Oh, perfect… thanks again ??