• Resolved andyspeakman

    (@andyspeakman)


    I am seeing the following error when a customer attempts to add a product to the basket. I also see it when I log in to the site’s WP dashboard, then navigate to the site itself. I have the most up-to-date version of the plugin and WooCoommerce, and am running on PHP 7.2. Hoping you can help!

    Fatal error: Uncaught Error: [] operator not supported for strings in /homepages/.../wordpress/wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php:93 Stack trace: #0 /homepages/.../wordpress/wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php(318): WAS_Advanced_Shipping_Method->was_match_methods(Array) #1 /homepages/.../wordpress/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(233): WAS_Advanced_Shipping_Method->calculate_shipping(Array) #2 /homepages/.../wordpress/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(329): WC_Shipping_Method->get_rates_for_package(Array) #3 /homepages/.../wordpress/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(256): WC_Shipping->calculate_shipping_for_package(Array, 0) #4 /homepages/.../wordpress/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1258): WC_Shipping->calc in /homepages/.../wordpress/wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php on line 93

    • This topic was modified 6 years, 4 months ago by andyspeakman.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught Error: [] operator not supported for strings in class-was-method.php:93’ is closed to new replies.