Uncaught type error | WordPress.org

[ad_1]

the error is from a piece of JS that *seems* to be coming from WP Rocket which is looking for a node with a data-attribute with name wpr-lcp-beacon. I would either exclude all of wp rocket’s JS from JS aggregating OR I would advise to disable “aggregate all JS” and instead switch to “don’t aggregate but defer” + “also defer inline JS”.

hope this helps,
frank

Hello,

wpr-lcp-beacon is detailed here as it is a new feature: https://docs.wp-rocket.me/article/1816-optimize-critical-images

“wpr-lcp-beacon” was excluded in your plugin, and now it seems to be fine. Thanks a lot!

you’re welcome, feel free to leave a review of the plugin and support here! 🙂

have a nice weekend!
frank

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer