Warning: Attempt to read property "rates" on null in /home/nzmade/www/www/wp-content/plugins/woocommerce-dhlexpress-services/woocommerce-dhlexpress-services.php on line 218

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /home/nzmade/www/www/wp-content/plugins/woocommerce-dhlexpress-services/woocommerce-dhlexpress-services.php:220 Stack trace: #0 /home/nzmade/www/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(233): WC_DHLExpress_Rates->calculate_shipping(Array) #1 /home/nzmade/www/www/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(348): WC_Shipping_Method->get_rates_for_package(Array) #2 /home/nzmade/www/www/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(260): WC_Shipping->calculate_shipping_for_package(Array, 0) #3 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Schema/Graphs/Product/WooCommerceProduct.php(391): WC_Shipping->calculate_shipping(Array) #4 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Schema/Graphs/Graph.php(40): AIOSEO\Plugin\Pro\Schema\Graphs\Product\WooCommerceProduct->getShippingDetails() #5 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Schema/Graphs/Product/WooCommerceProduct.php(206): AIOSEO\Plugin\Common\Schema\Graphs\Graph->getData(Array, Array) #6 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Schema/Graphs/Graph.php(40): AIOSEO\Plugin\Pro\Schema\Graphs\Product\WooCommerceProduct->getOffers() #7 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Schema/Graphs/Product/WooCommerceProduct.php(71): AIOSEO\Plugin\Common\Schema\Graphs\Graph->getData(Array, Array) #8 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Schema/Graphs/Product/Product.php(41): AIOSEO\Plugin\Pro\Schema\Graphs\Product\WooCommerceProduct->get(Array) #9 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Schema/Schema.php(281): AIOSEO\Plugin\Pro\Schema\Graphs\Product\Product->get(Array) #10 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Schema/Schema.php(124): AIOSEO\Plugin\Pro\Schema\Schema->getUserDefinedGraphs(Array, Array, Object(stdClass)) #11 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Schema/Schema.php(130): AIOSEO\Plugin\Pro\Schema\Schema->generateSchema() #12 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Views/main/schema.php(18): AIOSEO\Plugin\Common\Schema\Schema->get() #13 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Main/Head.php(218): require('/home/nzmade/ww...') #14 /home/nzmade/www/www/wp-content/plugins/all-in-one-seo-pack-pro/app/Common/Main/Head.php(139): AIOSEO\Plugin\Common\Main\Head->output() #15 /home/nzmade/www/www/wp-includes/class-wp-hook.php(308): AIOSEO\Plugin\Common\Main\Head->init('') #16 /home/nzmade/www/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #17 /home/nzmade/www/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /home/nzmade/www/www/wp-includes/general-template.php(3043): do_action('wp_head') #19 /home/nzmade/www/www/wp-content/themes/Avada/header.php(21): wp_head() #20 /home/nzmade/www/www/wp-includes/template.php(783): require_once('/home/nzmade/ww...') #21 /home/nzmade/www/www/wp-includes/template.php(718): load_template('/home/nzmade/ww...', true, Array) #22 /home/nzmade/www/www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #23 /home/nzmade/www/www/wp-content/plugins/woocommerce/templates/single-product.php(22): get_header('shop') #24 /home/nzmade/www/www/wp-includes/template-loader.php(106): include('/home/nzmade/ww...') #25 /home/nzmade/www/www/wp-blog-header.php(19): require_once('/home/nzmade/ww...') #26 /home/nzmade/www/www/index.php(17): require('/home/nzmade/ww...') #27 {main} thrown in /home/nzmade/www/www/wp-content/plugins/woocommerce-dhlexpress-services/woocommerce-dhlexpress-services.php on line 220