Breaks site after update
-
I tried updating to the new version 1.11.0 and I am getting a 500 error on the website after update.
I’m getting the following errors after update:
[27-Sep-2022 08:29:23 UTC] PHP Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /var/www/1/200292/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php:67 Stack trace: #0 /var/www/1/200292/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php(67): array_map(Array, NULL) #1 /var/www/1/200292/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php(291): WC_Settings_API->get_form_fields() #2 /var/www/1/200292/www/wp-content/plugins/woo-vipps/WC_Gateway_Vipps.class.php(556): WC_Settings_API->get_option('enablestaticshi...', 'no') #3 /var/www/1/200292/www/wp-content/plugins/woo-vipps/WC_Gateway_Vipps.class.php(132): WC_Gateway_Vipps->init_form_fields() #4 /var/www/1/200292/www/wp-content/plugins/woo-vipps/WC_Gateway_Vipps.class.php(63): WC_Gateway_Vipps->__construct() #5 /var/www/1/200292/www/wp-content/plugins/woo-vipps/Vipps.class.php(79): WC_Gateway_Vipps::instance() #6 /var/www/1/200292/www/wp-content/plugins/woo-vipps/Vipps.class.php(207): Vipps->gateway() #7 /var/www/1/200292/www/wp-includes/class-wp-hook.php(307): Vipps->init('') #8 /var/www/1/200292/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #9 /var/www/1/200292/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #10 /var/www/1/200292/www/wp-settings.php(598): do_action('init') #11 /var/www/1/200292/www/wp-config.php(98): require_once('/var/www/1/2002...') #12 /var/www/1/200292/www/wp-load.php(50): require_once('/var/www/1/2002...') #13 /var/www/1/200292/www/wp-blog-header.php(13): require_once('/var/www/1/2002...') #14 /var/www/1/200292/www/index.php(17): require('/var/www/1/2002...') #15 {main} thrown in /var/www/1/200292/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php on line 67
This is part of the system info:
WooCommerce 6.9.3
WordPress 6.0.2
PHP version 8.0.5
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Breaks site after update’ is closed to new replies.