Error on custom_orders_table_usage_is_enabled function in order detail

With 3.5 plugin version, when I go to a WooCommerce order page this error is sent to my mail (my site is in italian):

Un errore di E_ERROR è stato causato nella linea 229 del file
/xxxxxxxx/public_html/wp-content/plugins/woo-advanced-shipment-tracking/includes/class-wc-advanced-shipment-tracking.php.
Messaggio di errore: Uncaught Error: Call to a member function
custom_orders_table_usage_is_enabled() on null in
/xxxxxxxx/public_html/wp-content/plugins/woo-advanced-shipment-tracking/includes/class-wc-advanced-shipment-tracking.php:229
Stack trace:
#0 /xxxxxxxx/public_html/wp-includes/class-wp-hook.php(310):
WC_Advanced_Shipment_Tracking_Actions->add_meta_box('shop_order')
#1 /xxxxxxxx/public_html/wp-includes/class-wp-hook.php(332):
WP_Hook->apply_filters(NULL, Array)
#2 /xxxxxxxx/public_html/wp-includes/plugin.php(517):
WP_Hook->do_action(Array)
#3 /xxxxxxxx/public_html/wp-admin/includes/meta-boxes.php(1599):
do_action('add_meta_boxes', 'shop_order', Object(WP_Post))
#4 /xxxxxxxx/public_html/wp-admin/edit-form-advanced.php(271):
register_and_do_post_meta_boxes(Object(WP_Post))
#5 /xxxxxxxx/public_html/wp-admin/post.php(206):
require('/home/greencoun...')
#6 {main}
  thrown

My WP version is 6.1.1 and PHP version is 7.4.

  • This topic was modified 13 minutes ago by Scribit.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer