• I’ve upgraded the plugin to the current latest version of 2.2.0, but after that I get to much errors and it breaks the back-end of WordPress / WooCommerce. The automatic e-mail with errors I got:

    WordPress version 5.9.2
    Current theme: Shoptimizer (2.5.2)
    Current plugin: Sendcloud | Smart Shipping Service (2.2.0)
    PHP versie 8.0.15

    Error details
    ===========
    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 72 van het bestand /public_html/wp-content/plugins/sendcloud-shipping/includes/Checkout/Shipping/class-abstract-free-shipping-shipping-method.php. Foutmelding: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /public_html/wp-content/plugins/sendcloud-shipping/includes/Checkout/Shipping/class-abstract-free-shipping-shipping-method.php:72
    Stack trace:
    #0 /public_html/wp-content/plugins/sendcloud-shipping/includes/Checkout/Shipping/class-abstract-free-shipping-shipping-method.php(72): array_key_exists()
    #1 [internal function]: Sendcloud\Shipping\Checkout\Shipping\Free_Shipping_Shipping_Method->override_form_fields_config()
    #2 /public_html/wp-content/plugins/sendcloud-shipping/includes/Utility/class-logging-callable.php(25): call_user_func_array()
    #3 /public_html/wp-includes/class-wp-hook.php(307): Sendcloud\Shipping\Utility\Logging_Callable->__invoke()
    #4 /public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #5 /public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(507): apply_filters()
    #6 /public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(530): WC_Shipping_Method->get_instance_form_fields()
    #7 /public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(482): WC_Shipping_Method->init_instance_settings()
    #8 /public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(465): WC_Shipping_Method->get_instance_option()
    #9 /public_html/wp-content/plugins/woocommerce/includes/shipping/flat-rate/class-wc-shipping-flat-rate.php(48): WC_Shipping_Method->get_option()
    #10 /public_html/wp-content/plugins/sendcloud-shipping/includes/Checkout/Shipping/class-abstract-free-shipping-shipping-method.php(53): WC_Shipping_Flat_Rate->init()
    #11 /public_html/wp-content/plugins/sendcloud-shipping/includes/ServicePoint/Shipping/class-sc-service-point-shipping-method.php(31): Sendcloud\Shipping\Checkout\Shipping\Free_Shipping_Shipping_Method->init()
    #12 /public_html/wp-content/plugins/woocommerce/includes/shipping/flat-rate/class-wc-shipping-flat-rate.php(38): Sendcloud\Shipping\ServicePoint\Shipping\SendCloudShipping_Service_Point_Shipping_Method->init()
    #13 /public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php(185): WC_Shipping_Flat_Rate->__construct()
    #14 /public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php(36): WC_Shipping_Zone->get_shipping_methods()
    #15 /public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Tasks/Shipping.php(95): WC_Shipping_Zones::get_zones()
    #16 /public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Tasks/Shipping.php(66): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Shipping::has_shipping_zones()
    #17 /public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/TaskList.php(152): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Shipping->is_complete()
    #18 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}()
    #19 /public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/TaskList.php(154): array_reduce()
    #20 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-dashboard-setup.php(173): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->is_complete()
    #21 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-dashboard-setup.php(44): WC_Admin_Dashboard_Setup->should_display_widget()
    #22 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-dashboard-setup.php(181): WC_Admin_Dashboard_Setup->__construct()
    #23 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin.php(102): include(‘/mnt/BLOCKSTORA…’)
    #24 /public_html/wp-includes/class-wp-hook.php(307): WC_Admin->conditional_includes()
    #25 /public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #26 /public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
    #27 /public_html/wp-admin/includes/class-wp-screen.php(421): do_action()
    #28 /public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
    #29 /public_html/wp-admin/admin.php(212): set_current_screen()
    #30 /public_html/wp-admin/index.php(10): require_once(‘/mnt/BLOCKSTORA…’)
    #31 {main}
    thrown`

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sendcloud

    (@sendcloudbv)

    Dear GDriver,

    Thank you for bringing this issue to our attention.
    Our developers have been informed and will look into this.

    Kind regards,
    Jasmin
    Technical Support Specialist | Sendcloud

    Plugin Author Sendcloud

    (@sendcloudbv)

    @gdriver I just sent you an email to the email address associated with your Sendcloud account.
    If you could answer and provide the requested details to speed up the investigation of this issue that would be really helpful.

    Thanks in advance.

    Kind regards,
    Jasmin
    Technical Support Specialist | Sendcloud

    Thread Starter GDriver

    (@gdriver)

    Thank you. I’ve replied the mail

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error after upgrading to version 2.2.0’ is closed to new replies.