• 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]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.

    It’s an error with the currency API, it should be fixed now. Please check again from your end and let us know if any issue remains.

    Best regards.

    Thread Starter devtc

    (@devtc)

    I see the errors again, did you change anything with the plugin?

    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

    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.2/wp-includes/class-wp-hook.php(324): WOOMULTI_CURRENCY_Frontend_Update->update_exchange_rate('')
    #2 /wordpress/core/6.7.2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #3 /wordpress/core/6.7.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /wordpress/core/6.7.2/wp-settings.php(704): do_action('init')
    #5 /srv/htdocs/wp-config.php(108): require_once('/wordpress/core...')
    #6 /wordpress/core/6.7.2/wp-load.php(55): require_once('/srv/htdocs/wp-...')
    #7 /wordpress/core/6.7.2/wp-login.php(12): require('/wordpress/core...')
    #8 {main}
     thrown

    • This reply was modified 2 months, 2 weeks ago by devtc.
    Plugin Support angelagrey

    (@angelagrey)

    Hi,

    These reports are for premium plugin. Can you please open a ticket on this Support Forum? We’ll send you a dev plugin that address these errors.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.