• Resolved Scribit

    (@scribit)


    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 3 years, 6 months ago by Scribit.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @scribit,
    Can you please make sure that you are using the latest version of the WooCommerce(7.1.0) plugin?
    Thanks

    Thread Starter Scribit

    (@scribit)

    I have an older version of WooCommerce to avoid other plugin compatibility broke. But my version works well with last AST version.
    Is it mandatory for the new version?

    Plugin Author Zorem

    (@zorem)

    Yes, it’s mandatory to use the latest version of WooCommerce for the latest version of the AST.

    Thread Starter Scribit

    (@scribit)

    I suggest to indicate it at least in the changelog.
    Although the best choice would surely be to block the installation if the version of WooCommerce is not the required one.

    Plugin Author Zorem

    (@zorem)

    Hi @scribit,
    We fix the error and released the latest version of the plugin(3.5.1).
    You can use the old version of the WooCommerce plugin with our plugin.
    Please update with the latest version of the plugin and check again.
    Thanks

    Thread Starter Scribit

    (@scribit)

    Now it works 😉
    Thanks @zorem

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error on custom_orders_table_usage_is_enabled function in order detail’ is closed to new replies.