Plugin shows critical error
-
Hi there,
I was trying to change my main currency when I started getting an error on the admin. I have the Fixed price option enabled but after I changed the main currency, prices are still converting as if the now main (COP) was still USD.
Error log shows this message:
Warning: Undefined array key "is_main" in /home3/karinari/public_html/wp-content/plugins/woo-multi-currency/admin/analytics.php on line 93
And a notice from WordPress has these details:
Se ha producido un error del tipo E_ERROR en la línea 608 del archivo /home3/karinari/public_html/wp-content/plugins/woo-multi-currency/includes/support.php. Mensaje de error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /home3/karinari/public_html/wp-content/plugins/woo-multi-currency/includes/support.php:608 Stack trace: #0 /home3/karinari/public_html/wp-content/plugins/woo-multi-currency/includes/support.php(608): array_filter(NULL) #1 /home3/karinari/public_html/wp-content/plugins/woo-multi-currency/includes/support.php(562): VillaTheme_Support->get_data('woo-multi-curre...') #2 /home3/karinari/public_html/wp-includes/class-wp-hook.php(307): VillaTheme_Support->villatheme_support('') #3 /home3/karinari/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /home3/karinari/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #5 /home3/karinari/public_html/wp-content/plugins/woo-multi-currency/admin/settings.php(1077): do_action('villatheme_supp...') #6 /home3/karinari/public_html/wp-includes/class-wp-hook.php(307): WOOMULTI_CURRENCY_F_Admin_Settings::page_callback('') #7 /home3/karinari/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #8 /home3/karinari/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #9 /home3/karinari/public_html/wp-admin/admin.php(259): do_action('toplevel_page_w...') #10 {main} thrown
Version of the plugin is 2.1.15
Woocommerce 6.4.1
WordPress 5.9.3
And PHP 8.0.16
Theme: OceanWPThanks in advance for any help.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Plugin shows critical error’ is closed to new replies.