Warning: Invalid argument supplied for foreach() in /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/wanderlust-andreani-shipping/includes/class-wc-shipping-andreani.php on line 241

Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/wanderlust-andreani-shipping/includes/class-wc-shipping-andreani.php:298 Stack trace: #0 /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(233): WC_Shipping_Andreani->calculate_shipping(Array) #1 /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(348): WC_Shipping_Method->get_rates_for_package(Array) #2 /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(260): WC_Shipping->calculate_shipping_for_package(Array, 0) #3 /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1420): WC_Shipping->calculate_shipping(Array) #4 /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(339): WC_Cart-> in /home/customer/www/sportiva.com.au/public_html/wp-content/plugins/wanderlust-andreani-shipping/includes/class-wc-shipping-andreani.php on line 298