• Resolved comptedev

    (@comptedev)


    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Are you using the latest version of WooCommerce and Table Rate Shipping for WooCommerce? I haven’t seen those errors come up so far.

    Thread Starter comptedev

    (@comptedev)

    hi thank you for your response, I use the latest version

    wordpress 6.4.3
    WooCommerce 8.6.1
    Table Rate Shipping : 2.28

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Do you have any other WooCommerce plugins installed?

    Thread Starter comptedev

    (@comptedev)

    Conditional Payments for WooCommerce
    FiboSearch – AJAX Search for WooCommerce
    PDF Invoices & Packing Slips for WooCommerce
    Side Cart WooCommerce
    WooCommerce Custom Product Addons Free
    WooCommerce PayPal Payments
    WooCommerce Shipping & Tax

    Thread Starter comptedev

    (@comptedev)

    hi , For additional information when I put the Twenty Twenty-Two theme the error disappears, however as soon as I put a woocomerce theme the error returns and the shipping button disappears

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Can you tell me what theme you had the issue with so I can try with that? …if any of the ones you tried are free.

    Thread Starter comptedev

    (@comptedev)

    hi , the theme I installed is Astra and I did a test with Storefront and I get the same error

    Thread Starter comptedev

    (@comptedev)

    here are my last tests I redid a complete installation I changed the theme I took DIVI and I completely emptied my database. I put my extensions back on. I no longer have any error messages. I thank you for all your efforts

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    OK, I’ll keep an eye out for that error, hopefully I’ll manage to fix it. Thanks for your feedback so far ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP 8.2 fatal error’ is closed to new replies.