Support

Account

Home Forums General Issues Insert Commas into ACF number field Reply To: Insert Commas into ACF number field

  • @hube2 I have always used your snippet and it has always worked great. However, now I’m running into an issue (maybe it’s a WP 5.5 thing?)

    I’m getting:

    Warning: number_format() expects parameter 1 to be float, string given in /functions.php on line 74

    Warning: Cannot modify header information – headers already sent by (output started at /functions.php:74) in /wp-includes/pluggable.php on line 1296

    Thoughts? (FYI line 74 is $value = number_format($value);)