-
AuthorPosts
-
February 22, 2025 at 1:39 am #229581
Daniel CannonParticipantHi 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}
Error Details ============= 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} thrown
-
AuthorPosts
You must be logged in to see replies to this topic. Click here to login or register