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: assignment to undeclared variable woof_current_values & woof_is_ajax

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.

Hi,

I cannot get the plugin working. The shortcode creates the filters, and that looks good. But nothing happens when the filters are clicked, and I see the following in the console log.

jQuery.Deferred exception: assignment to undeclared variable woof_current_values

jQuery.Deferred exception: assignment to undeclared variable woof_is_ajax

Uncaught ReferenceError: assignment to undeclared variable woof_current_values

Uncaught ReferenceError: assignment to undeclared variable woof_is_ajax

Any ideas How i can get things working?

Jack

Hello Jack

Please  try  to disable JS  optimization, clear all cache  and  do a  test

Hi, already tryed this and its presently turned off. There is no cache on this site.

Jack

Hello Jack

I  disabled  you custom  theme - https://c2n.me/4iKCi4m

So  please write to the authors of this theme to disable JS optimization(deferred loading)

Hi,

Thanks for the help. I had already removed most of the JS Optimisation code.

However, the following was causing the issue. I have now removed this, and things are working.

add_filter('script_loader_tag', 'clean_script_tag');
function clean_script_tag($input) {
$input = str_replace("", '', $input);
$input = str_replace(' ', '', $input);
return str_replace("'", '"', $input);
}

Thanks for the help.

Jack

Great!  Welcome;)