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

woocs_array_of_get error

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.

This error is popping up on my site and causing issues with other JS, has anyone tracked down what causes it?

 

I have the premium version of the plugin but dont see where I can add the purcahse code? no green button on the right side here.

Hello

This button appears after creating a topic - https://c2n.me/49c5YlG.png

Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and  wp-admin access - https://c2n.me/42BAoj4.png

 

Thanks Pablo I added the info still having a problem with this error.

Hello

Please  do test

Thanks yes that fix works on initial load, but now when I switch currencies I get a new error:

Uncaught SyntaxError: Unexpected token o in JSON at position 1

You can see it by going to a URL like this one: https://madebystarstuff.com/?currency=USD

Hello

Please  do a test

Yes that worked, thanks, are you changing the config or files? What was the issue?

Hello

Yes!  I changed  code.

But unfortunately I cannot say exactly how I changed the code because there is no access to your site.

Will I still be able to update the plugin? What access do you require? I just want to be able to continue using it without issue.

Hello

In file - wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php - I changed  code - https://c2n.me/49zI8R2.png

woocs_array_of_get = JSON.stringify(<?php echo str_replace("\\","\\\\", str_replace("'","", json_encode($sanitized_get_array))); ?>);

var woocs_array_no_cents ="[]"

Unfortunately, I cannot add this to the new version of the plugin. Because this problem only occurs with your site