WP Recipe Maker 9.7.2: console error “wprm_public is not defined”

[ad_1]

Plugin Author
Brecht

(@brechtvds)

That’s strange, as I do see that wprm_public is defined when I test it in the JavaScript console.

It could be some kind of compatibility problem. Could you try using the Health Check plugin to test? We have a video in our documentation showing you exactly how to do that: https://help.bootstrapped.ventures/article/108-debugging-plugin-problems

Specifically the compatibility mode shown in the video where it basically tests a default theme and no other plugins active.

Kind regards,
Brecht

Thank you Brecht!

After more testing, as per your suggestion, I found that it was caused by the LiteSpeed Cache WordPress plugin.

I’ve solved the problem by changing “JS Combine External and Inline” from ON to OFF. “JS Minify” can stay ON, “JS Combine” can stay ON, “Load JS Deferred” can stay on “Deferred”. No exemptions necessary for public-modern.js on the “Fine tuning” tab. Results: Console error is gone and PageSpeed Insights are still at 100/100/100/100 for both Mobile and Desktop.

Thank you for your assistance!

 

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