hi
Do you see this message if you use button “Export without progressbar” ?
Does your hosting use load balancer ?
thanks, Alex
I use Kinsta hosting, and it seems not to use load balancer.
When I tested two export buttons today, for both the “Export without progress bar” and “Export” buttons, I saw the Error notice below but no PHP warning :
Notice: Undefined variable: dp in /wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php(350) : eval()’d code on line 3
And actually, I just found I got three other warnings simultaneously, and it did not happen again today.
Warning: current() expects parameter 1 to be array, null given in /www/leaderkid_808/public/wp-content/plugins/woo-order-export-lite/classes/formats/storage/class-woe-formatter-storage-summary-session.php on line 82
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xls.php on line 318
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xls.php on line 282
Warning: reset() expects parameter 1 to be array, null given in /wp-content/plugins/woo-order-export-lite/classes/formats/storage/class-woe-formatter-storage-summary-session.php on line 78`
please, open section “Misc Settings”, copy PHP code and paste it here .
add_filter(‘woe_get_order_value_custom_subtotal’,function ($value, $order,$fieldname) {
$value =wc_format_decimal($order->get_subtotal(), $dp) + wc_format_decimal($order->get_cart_tax(), $dp) – wc_format_decimal($order->get_total_discount(), $dp);
return $value;
},10,3);
please, edit your code and replace $dp with 2 .
if you still see the warning — please, submit your settings as new ticket to https://algolplus.freshdesk.com/ . Use tab Tools to get them.