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.
Open
Last updated: January 31, 2023
0 comments
Log in to comment on this feature request.