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

Problem with Currency loading: factory resetting itself - FOX - Currency Switcher Professional for WooCommerce v.2.4.4

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.

Good day,

I am experiencing a problem with loading currencies. Whether I try to load them manually or via the currency wizard, I can only load six currencies before the system resets itself to factory defaults. I have even attempted to change the options in the currency storage one by one, but to no avail. As you suggested, I also tried switching to transient storage, but this did not resolve the issue either.

I urgently need a solution to this problem, as my clientele is worldwide.

And if you ask, I bought the pro version

Thank you for your assistance.

 

 

Hello

This is a PHP configuration limit issue, not a WOOCS problem. When you have many currencies, the settings form sends more fields and PHP cuts them off.

Solution:

You need to increase `max_input_vars` in your PHP settings. Currently it's likely set to 1000 (default).

How to fix (choose one method):

1. Via .htaccess (if you have Apache):
Add this line to your .htaccess file in WordPress root:
php_value max_input_vars 3000

2. Via php.ini:
If you have access to php.ini, add/edit:
max_input_vars = 3000

3. Via wp-config.php:
Add before"That's all, stop editing":

@ini_set('max_input_vars', 3000);

4. Ask your hosting provider:
Contact support and ask them to increase `max_input_vars` to 3000

To verify current value:
- Install"WP phpinfo" plugin temporarily
- Check what `max_input_vars` is currently set to

After increasing this limit, you'll be able to add and save all currencies without reset.

Let me know if you need help with implementation!

 

Place please actual purchase code of the plugin into the private area of this ticket:
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png