PHP 8.2 fatal error
-
Hi , when my site is in php 8.2 your extension crashes my site only the php 7.4 version can make your plugin work. here are the error messages php 8.2
Warning: Undefined array key 4 in /home/www/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php on line 190
Warning: Undefined array key 6 in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php on line 190
Warning: Undefined array key 4 in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php on line 190
Warning: Undefined array key 4 in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php on line 200
Fatal error: Uncaught TypeError: get_object_vars(): Argument #1 ($object) must be of type object, null given in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php:200 Stack trace: #0 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php(200): get_object_vars(NULL) #1 /wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(36): WC_Shipping_Zone->get_shipping_methods(false, 'json') #2 /wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(368): WC_Shipping_Zones::get_zones('json') #3 /wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(246): WC_Settings_Shipping->zones_screen() #4 /wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(179): WC_Settings_Shipping->output_zones_screen() #5 /wp-includes/class-wp-hook.php(324): WC_Settings_Shipping->output('') #6 /home/www/lataverneafonta/nanoo/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(40): do_action('woocommerce_set…') #9 /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(153): include('/home/www/latav…') #10 /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(350): WC_Admin_Settings::output() #11 /wp-includes/class-wp-hook.php(324): WC_Admin_Menus->settings_page('') #12 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #13 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /wp-admin/admin.php(259): do_action('woocommerce_pag…') #15 {main} thrown in /wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php on line 200
- The topic ‘PHP 8.2 fatal error’ is closed to new replies.