Closed costidima closed 1 year ago
Hi @costidima,
This is being caused by a conflict with one of your plugins. You most likely have a plugin that's minifying / bundling JS files for performance but these can often lead to this specific kind of issue.
Please check this FAQ for more details and suggestions: Is WordPress Popular Posts compatible with plugins that minify / bundle JavaScript code?
If you have any further comments / questions please let me know.
Thanks @cabrerahector! Indeed, it was caused by one of the plugins. More precisely, it was the Roots Soil plugin (clean-up feature)
Hi. I get this error on the JavaScript console:
The reason i suspect you have this error is because the script added from wp_add_inline_script function doesn't add the ID parameter to the script tag therefore this line doesn't return any results
var wpp_json = document.querySelector("script#wpp-json")