hi
please, visit >WooCOmmerce>Export Orders, open section “Misc Settings” and disable custom code.
Hi,
I disabled the custom code in the misc setting ( although the section was empty ) and I get the same alert.
P.s.
Is there any way to print the debug information not in to an alert? it’s impossible to copy and paste
please, open section “Misc Settings” and turn off “Enable debug output”.
Will you see this warning still ?
Ok,
in the meantime I’ve found a way to easily access to the debug informations.
If I check the network tab on chrome i can copy this from the last ajax call
<br />
<b>Warning</b>: WC_Order_Export_Admin_Tab_Abstract::ajax_export_part(): Failed to call filter function in <b>/var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php</b> on line <b>86</b><br />
<br />
<b>Fatal error</b>: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-product-fields.php:38
Stack trace:
#0 /var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-product-fields.php(38): method_exists()
#1 /var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php(1603): WC_Order_Export_Order_Product_Fields->__construct()
#2 /var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php(1680): WC_Order_Export_Data_Extractor::fetch_order_products()
#3 /var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php(485): WC_Order_Export_Data_Extractor::fetch_order_data()
#4 /var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php(86): WC_Order_Export_Engine::build_file()
#5 /var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/class-wc-order-export-admin.php(446): WC_Order_Export_Admin_Tab_Abstract->ajax_export_part()
#6 /var/www/vhosts/xxx.it/old.xxx.it/wp-includes/class-wp-hook.php(309): WC_Order_Export_Admin->ajax_gate()
#7 /var/www/vhosts/xxx.it/old.xxx.it/wp-includes/class-wp-hook.php(337): WP_Hook->apply_filters()
#8 /var/www/vhosts/xxx.it/old.xxx.it/wp-includes/plugin.php(470): WP_Hook->do_action()
#9 /var/www/vhosts/xxx.it/old.xxx.it/wp-admin/admin-ajax.php(187): do_action()
#10 {main}
thrown in <b>/var/www/vhosts/xxx.it/old.xxx.it/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-product-fields.php</b> on line <b>38</b><br />
-
This reply was modified 4 years, 6 months ago by
Salvatore.
If I remove the debug I will not see the alert, but it will fail with an alert that tells me to enable the debug
Hello
I think you have problem with deleted variation.
please, submit your settings as new ticket to https://algolplus.freshdesk.com/
use tab “Tools” to get them.
but we’ll provide fix only tomorrow. it’s late here
thanks, Alex
it seems you use outdated version of the plugin.
We fixed this bug in 3.1.9
https://ww.wp.xz.cn/plugins/woo-order-export-lite/#developers
Fixed bug – fatal error if variation was deleted