Issue with latest WordPress/WooCommerce
-
Hi folks!
I recently updated Woocommerce to the latest version, and from that point I randomly get such errors (last time when i wanted to create a coupon…):
An error of type E_ERROR was caused in line 1088 of the file /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/includes/data.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/includes/data.php:1088
Stack trace:
#0 /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/frontend/update.php(84): WOOMULTI_CURRENCY_Data->get_exchange('USD', 'USD,AUD,EUR,CAD')
#1 /wordpress/core/6.7.1/wp-includes/class-wp-hook.php(324): WOOMULTI_CURRENCY_Frontend_Update->update_exchange_rate('')
#2 /wordpress/core/6.7.1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /wordpress/core/6.7.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /wordpress/core/6.7.1/wp-settings.php(704): do_action('init')
#5 /srv/htdocs/wp-config.php(108): require_once('/wordpress/core...')
#6 /wordpress/core/6.7.1/wp-load.php(55): require_once('/srv/htdocs/wp-...')
#7 /wordpress/core/6.7.1/wp-admin/admin-ajax.php(22): require_once('/wordpress/core...')
#8 {main}Please help, there is not an option to disable this plugin.
Thanks!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.