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

WordPress reports FOX plugin error, please provide a solution

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.

Received a FOX plugin error from WordPress. Please provide a solution. The received email is as follows:

Howdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, FOX - Currency Switcher Professional for WooCommerce.

First, visit your website (https://ed2kcosplay.com/) and check for any visible issues. Next, visit the page where the error was caught (https://ed2kcosplay.com/wp-admin/edit.php?post_type=product&page=woobe&msgid=cdn_limit_bypass) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special"recovery mode". This lets you safely login to your dashboard and investigate further.

https://ed2kcosplay.com/wp-login.php?action=enter_recovery_mode&rm_token=flifwdCQhjzVWipeyRFSAT&rm_key=TxfcI0CqEGaRRq9irLKcKK

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.9
Active theme: Flatsome Child (version 3.0)
Current plugin: FOX - Currency Switcher Professional for WooCommerce (version 2.4.3.2)
PHP version 8.3.21

Error Details
=============
An error of type E_ERROR was caused in line 39 of the file /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/YahooRateProvider.php. Error message: Uncaught TypeError: WOOCS\Rates\Aggregators\YahooRateProvider::parseResponse(): Return value must be of type float, null returned in /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/YahooRateProvider.php:39
Stack trace:
#0 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/RateProvider.php(27): WOOCS\Rates\Aggregators\YahooRateProvider->parseResponse()
#1 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(2708): WOOCS\Rates\Aggregators\RateProvider->getRate()
#2 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(968): WOOCS->get_rate()
#3 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-includes/class-wp-hook.php(341): WOOCS->rate_auto_update()
#4 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#5 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#6 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/cron.php(34): do_action()
#7 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(881): PN_WP_CRON_WOOCS->process()
#8 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(865): WOOCS->woocs_wpcron_init()
#9 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-includes/class-wp-hook.php(341): WOOCS->make_rates_auto_update()
#10 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#11 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#12 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-settings.php(742): do_action()
#13 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-config.php(111): require_once('/home/u97929280...')
#14 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-load.php(50): require_once('/home/u97929280...')
#15 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-admin/admin.php(35): require_once('/home/u97929280...')
#16 /home/u979292807/domains/ed2kcosplay.com/public_html/wp-admin/edit.php(10): require_once('/home/u97929280...')
#17 {main}
thrown

At the same time, another site that uses FOX has the same plugin error:

Howdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, FOX - Currency Switcher Professional for WooCommerce.

First, visit your website (https://ed2kidz.com/) and check for any visible issues. Next, visit the page where the error was caught (https://ed2kidz.com/wp-admin/customize.php?return=%2Fwp-admin%2Fadmin.php%3Fpage%3Dwoo-cart-abandonment-recovery) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special"recovery mode". This lets you safely login to your dashboard and investigate further.

https://ed2kidz.com/wp-login.php?action=enter_recovery_mode&rm_token=q0KKqzLKpJ79CK6lPxG3lu&rm_key=

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.9
Active theme: Flatsome Child (version 3.0)
Current plugin: FOX - Currency Switcher Professional for WooCommerce (version 2.4.3)
PHP version 8.4.7

Error Details
=============
An error of type E_ERROR was caused in line 39 of the file /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/YahooRateProvider.php. Error message: Uncaught TypeError: WOOCS\Rates\Aggregators\YahooRateProvider::parseResponse(): Return value must be of type float, null returned in /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/YahooRateProvider.php:39
Stack trace:
#0 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/RateProvider.php(27): WOOCS\Rates\Aggregators\YahooRateProvider->parseResponse()
#1 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(2692): WOOCS\Rates\Aggregators\RateProvider->getRate()
#2 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(952): WOOCS->get_rate()
#3 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(341): WOOCS->rate_auto_update()
#4 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#5 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#6 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/cron.php(34): do_action()
#7 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(865): PN_WP_CRON_WOOCS->process()
#8 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(849): WOOCS->woocs_wpcron_init()
#9 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(341): WOOCS->make_rates_auto_update()
#10 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#11 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#12 /home/u979292807/domains/ed2kidz.com/public_html/wp-settings.php(742): do_action()
#13 /home/u979292807/domains/ed2kidz.com/public_html/wp-config.php(99): require_once('/home/u97929280...')
#14 /home/u979292807/domains/ed2kidz.com/public_html/wp-load.php(50): require_once('/home/u97929280...')
#15 /home/u979292807/domains/ed2kidz.com/public_html/wp-admin/admin.php(35): require_once('/home/u97929280...')
#16 /home/u979292807/domains/ed2kidz.com/public_html/wp-admin/customize.php(13): require_once('/home/u97929280...')
#17 {main}
thrown

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woo-discount-rules domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/functions.php on line 6131

Notice: Function as_next_scheduled_action was called incorrectly. as_next_scheduled_action() was called before the Action Scheduler data store was initialized Please see Debugging in WordPress for more information. (This message was added in version 3.1.6.) in /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/functions.php on line 6131

Deprecated: WooCommerce\PayPalCommerce\Googlepay\Assets\Button::__construct(): Implicitly marking parameter $new_settings as nullable is deprecated, the explicit nullable type must be used instead in /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-googlepay/src/Assets/Button.php on line 101

Fatal error: Uncaught TypeError: WOOCS\Rates\Aggregators\YahooRateProvider::parseResponse(): Return value must be of type float, null returned in /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/YahooRateProvider.php:39 Stack trace: #0 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/RateProvider.php(27): WOOCS\Rates\Aggregators\YahooRateProvider->parseResponse() #1 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(2692): WOOCS\Rates\Aggregators\RateProvider->getRate() #2 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(952): WOOCS->get_rate() #3 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(341): WOOCS->rate_auto_update() #4 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #5 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #6 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/cron.php(34): do_action() #7 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(865): PN_WP_CRON_WOOCS->process() #8 /home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(849): WOOCS->woocs_wpcron_init() #9 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(341): WOOCS->make_rates_auto_update() #10 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #11 /home/u979292807/domains/ed2kidz.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #12 /home/u979292807/domains/ed2kidz.com/public_html/wp-settings.php(742): do_action() #13 /home/u979292807/domains/ed2kidz.com/public_html/wp-config.php(99): require_once('/home/u97929280...') #14 /home/u979292807/domains/ed2kidz.com/public_html/wp-load.php(50): require_once('/home/u97929280...') #15 /home/u979292807/domains/ed2kidz.com/public_html/wp-admin/admin.php(35): require_once('/home/u97929280...') #16 /home/u979292807/domains/ed2kidz.com/public_html/wp-admin/customize.php(13): require_once('/home/u97929280...') #17 {main} thrown in/home/u979292807/domains/ed2kidz.com/public_html/wp-content/plugins/woocommerce-currency-switcher/classes/Rates/Aggregators/YahooRateProvider.php on line 39

Hello

Try this fix: https://drive.google.com/file/d/1SWkHHppxDeSoow-YPB9ZN-ro7kXc6Eai/view?usp=sharing

Upload file to folder: wp-content\plugins\woocommerce-currency-switcher\classes\Rates\Aggregators

 

Is this an issue that arises due to Yahoo Rate? If so, should I switch to another rate provider to resolve this problem?

I have two websites that use FOX 2.4.3 and the latest updated version 2.4.3.2, and both have this issue. However, the 2.4.3 version was always fine before.

Or do I have to upload the fix file provided by you to the folders of two websites to solve the issue?

The question is which solution is better for long-term stable use and plugin updates?

Hello

Just update the file I provided: wp-content\plugins\woocommerce-currency-switcher\classes\Rates\Aggregators\YahooRateProvider.php - this should help

later we will do update of the plugin, maybe even on this week

Also yes, you can switch to another currency provider ...

 

Please provide the plugin update to the [WooCommerce Business Tools Bundle] so that the updated plugin can be used

Thank you

Hello

Thank you for the signal, update is done, within some hours you should get email from Envato