Fatal error on orders search

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #105506
    christian
    Participant

    Hi,

    I’m doing maintenance for a customer. They use your plugin, version 2.5.4.

    When doing a search in WooCommerce orders, there is a fatal error:

    Uncaught Error: Call to undefined function get_filter_shop_order_meta() in ./wp-content/plugins/eu-vat-for-woocommerce-pro/includes/admin/class-alg-wc-eu-vat-admin.php:182
    Stack trace:
    #0 ./wp-includes/class-wp-hook.php(308): Alg_WC_EU_VAT_Admin->shop_order_meta_search_fields(Array)
    #1 ./wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #2 ./wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(576): apply_filters(‘woocommerce_sho…’, Array)
    #3 ./wp-content/plugins/woocommerce/includes/class-wc-data-store.php(224): WC_Order_Data_Store_CPT->search_orders(‘contact@’)
    #4 ./wp-content/plugins/woocommerce/includes/wc-order-functions.php(842): WC_Data_Store->__call(‘search_orders’, Array)
    #5 /Users/xtian/development in <b>./wp-content/plugins/eu-vat-for-woocommerce-pro/includes/admin/class-alg-wc-eu-vat-admin.php</b> on line <b>182</b>

    Please advise. Thank you,

    Christian

    • This topic was modified 1 year, 5 months ago by WPWhale.
    #105507
    WPWhale
    Moderator

    Hi Christian,

    First thing to try please is to update the plugin version, the 2.5.4 is almost 10 months old, latest is 2.8.1, you can get it from their account here on WPFactory.com

    If you still get the issue after the update, please send us WordPress & WooCommerce versions so we can check further.

    Omar

    #105508
    Christian
    Guest

    Thank you Omar, updating the plugin solved the problem.

    It would be much easier if the plugin warned of a new version, as per the standard WordPress mechanism.

    Having to install a separate plugin for this is unintuitive and a huge pain.

    #105509
    WPWhale
    Moderator

    Thanks Christian for confirming the fix and feedback.

    I will check with WPFactory about this, there might be several options on how to maintain updates without another plugin and will see which will be better to implement.

    Best,

    Omar

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.