New Woo brand announcement v2 | Feb 4, 2025

Added by Mahrie - https://woomarketingstudio.wordpress.com/2024/12/20/studio-request-logo-rollout-customer-comms/

Product Icon

Customer / Order / Coupon Export for WooCommerce

Trending
Export customers, orders, and coupons from WooCommerce manually or on an automated schedule.

Export_Generator class, format_decimal() method fix

We’ve got some fatal errors using this plugin with PHP 8.0.
Export_Generator class, format_decimal() method, line 325 returned some fatal errors when $number is a string. Previous PHP version returned a warning.

Maybe you could change this line:
return number_format( $number, $decimal_points, $decimal_separator, $thousands_separator );
with this one:
return number_format( (float)$number, $decimal_points, $decimal_separator, $thousands_separator );
to avoid the issue.

Screenshots

Author

saucal

Current Status

Open

Last updated: January 31, 2023

0 comments

Log in to comment on this feature request.