Top WooCommerce & WordPress Plugins › Forums › EU/UK VAT Manager for WooCommerce › Fatal error on orders search
- Support forum for the EU/UK VAT Manager for WooCommerce.
- This topic has 3 replies, 3 voices, and was last updated 9 months, 3 weeks ago by
WPWhale.
- AuthorPosts
-
November 14, 2022 at 4:01 pm #105506
christian
ParticipantHi,
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 9 months, 2 weeks ago by
WPWhale.
November 14, 2022 at 6:53 pm #105507WPWhale
ModeratorHi 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
December 8, 2022 at 9:03 am #105508Christian
GuestThank 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.
December 8, 2022 at 10:16 am #105509WPWhale
ModeratorThanks 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
- This topic was modified 9 months, 2 weeks ago by
- AuthorPosts
- You must be logged in to reply to this topic.