Issue with Shipstation Integration
-
After yesterday’s update to V2.4.1 which introduced the Shipstation integration I’m now getting the following fatal errors on our site whenever Shipstation sends over tracking info to our site –
2023-11-15T10:27:46+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function WooCommerce\PayPalCommerce\OrderTracking\Integration\ShipStationIntegration::WooCommerce\PayPalCommerce\OrderTracking\Integration{closure}(), 1 passed in ../public_html/wp-includes/class-wp-hook.php on line 326 and exactly 2 expected in ../public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Integration/ShipStationIntegration.php:74
Stack trace: 0 ../public_html/wp-includes/class-wp-hook.php(326): WooCommerce\PayPalCommerce\OrderTracking\Integration\ShipStationIntegration->WooCommerce\PayPalCommerce\OrderTracking\Integration{closure}() 1 ../public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 2 ../public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 ../public_html/wp-content/plugins/woocommerce-shipstation-integration/includes/api-requests/class-wc-shipstation-api-shipnotify.php(334): do_action() 4 ../public_html/wp-content/plugins/woocommerce-shipstation-integration/includes/class-wc-shipstation-api.php(80): WC_Shipstation_API_Shipnotify->request() 5 ../public_html/wp-content/plugins/woocommerce-shipstation-integration/includes/class-wc-shipstation-api.php(37): WC_Shipstation_API->request() 6 ../public_html/wp-content/plugins/woocommerce-shipstation-integration/includes/class-wc-shipstation-api.php(89): WC_Shipstation_API->__construct() 7 ../public_html/wp-content/plugins/woocommerce-shipstation-integration/woocommerce-shipstation.php(81): include_once(‘/home/577553.cl…’) 8 ../public_html/wp-includes/class-wp-hook.php(324): woocommerce_shipstation_api() 9 ../public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 10 ../public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 11 ../public_html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action() 12 ../public_html/wp-includes/class-wp-hook.php(324): WC_API->handle_api_requests() 13 ../public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 14 ../public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 15 ../public_html/wp-includes/class-wp.php(418): do_action_ref_array() 16 ../public_html/wp-includes/class-wp.php(813): WP->parse_request() 17 ../public_html/wp-includes/functions.php(1336): WP->main() 18 ../public_html/wp-blog-header.php(16): wp() 19 ../public_html/index.php(17): require(‘/home/…’) 20 {main}thrown in ../public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Integration/ShipStationIntegration.php on line 74
We are running with the current Shipstation plugin. The tracking number and carrier info are being stored correctly by WooCommerce but it’s sending back this error to Shipstation so it keeps retrying every time a shipment is updated and we’re ending up with the same tracking number being stored in the order several times as a result.
Is there a way I can disable this new Shipstation functionality until this has been fixed?
Many thanks,
Gordon
The page I need help with: [log in to see the link]
- The topic ‘Issue with Shipstation Integration’ is closed to new replies.