PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Uncaught referenceError: Woof_Current_Values is not defined | Woof_autosubmit is not defined.

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Woof Errors

 

Okay, I've done some of the leg work for this. I am using WP-Rocket with Cloudflare. When I disable the load JavaScript Deferred and clear caches the errors go away.

Note this only happens on every page from the search results except for page 1 which works fine. Not sure why the code is being deferred on the search pages other than 1.

I have attempted to exclude files in WP-Rocket and have used

/wp-content/plugins/woocommerce-products-filter/js/(.*).js

But it doesn't work.

Have tried

/wp-content/plugins/woocommerce-products-filter/js/front.js

But doesn't work.

 

Wondering which files to exclude for the load JavaScript Deferred.

Thanks

Andy

 

Hello Andy

Try to disable the setting (optimization) related to inline JS

Hi Pablo,

Sorry for the delay I've been away.

Under file optimization in WP Rocket, under Javascript files I have Minify Javascript enabled, My combine Javascript files is automatically disabled due to Delay Javascript execution being selected.

With the Load Javascript Deferred it causes huge render-blocking problems and causes my site to drop 20 points in Google pagespeed.

Would kinda like to know the Javascript file to exclude so I can enable the rest of the site for Javascript deferred.

Thanks in advance

Sincerely,

Andy

 

Hello Andy

there is a problem in inline js deferred loading. In my code there are commands that should inline the script to load before loading JS files, but WP Rocket, ignores this

It's just that these inline scripts must be loaded before the JS files are loaded - /wp-content/plugins/woocommerce-products-filter/js/front.js.