• WordPress Version: Version 6.4.2
    Woocommerce Version: Version 8.0.3

    Does this plugin not support the latest version of wordpress? We’re no longer able to use transdirect and are looking at shipstation as an alternative if we can’t resolve this

    See the error I am receiving below:

    Warning: Undefined array key “products” in /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php on line 91
    Fatal error: Uncaught TypeError: count): Argument #1 ($value) must be of type Countable|array, null given in /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php:91 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php(56): product_sync-

    get_product_data() #1 /home/xxx/public_html/wp-content/plugins/transdirect-shipping/transdirect_shipping.php(992): product_sync->sync_updated_product) #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(326):
    action_woocommerce_update_product() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters) #4 /home/xxx/public_html/wp-
    includes/plugin.php(517): P_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(275): do_action() #6 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196):
    WC_Product_Data_Store_CPT->update() #7 /home/xxx/public_html/wp-
    content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1432):
    WC_Data_Store->update() #8 /home/xxx/public_html/wp-|
    content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(424): WC_Product->save() #9 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Meta_Box_Product_Data::save) #10 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #11
    /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action( #12
    /home/xxx/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(273): do_action() #13 /home/xxx/public_html/wp-includes/class-wp-hook.php(326): WC_Admin_Meta_Boxes->save_meta_boxes) #14
    /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()15 /home/xxx/public_html/w-includes/plugin.php(517): WP_Hook->do_action( #16

    /home/xxx/public_html/wp-includes/post.php(4760): do_action() #17
    /home/xxx/public_html/wp-includes/post.php(4862): wp_insert_post) #18
    /home/xxx/public_html/wp-admin/includes/post.php(453): wp_update_post() #19 /home/xxx/public_html/wp-admin/post.php(227): edit_post) #20 {main} thrown in /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php on line 91
    There has been a critical error on this website. Please check your site admin email inbox for

  • The topic ‘Fatal error when saving variants’ is closed to new replies.