Title: Network dashboard functions.php error
Last modified: August 20, 2016

---

# Network dashboard functions.php error

 *  [sdgenxr](https://wordpress.org/support/users/sdgenxr/)
 * (@sdgenxr)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/)
 * On a clean multisite network installation, I get the following error on the network
   dashboard:
    `Warning: number_format() expects parameter 1 to be double, string
   given in /wp-includes/functions.php on line 155`
 * I’ve been told that the only places that call this function for the network dashboard
   are:
    menu.php site-themes.php themes.php
 * Could anyone provide some insight on how to resolve this problem?
 * Thanks in advance!

Viewing 11 replies - 16 through 26 (of 26 total)

[←](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/?output_format=md)
[1](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/?output_format=md)
2

 *  [paulh16](https://wordpress.org/support/users/paulh16/)
 * (@paulh16)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635177)
 * Yes, they are on the same server at MT. They are running PHP version 5.3.10.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 1 month ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635178)
 * Can you ask MT if they patched for the php-cgi vulnerability?
 *  [playonmonkeys](https://wordpress.org/support/users/playonmonkeys/)
 * (@playonmonkeys)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635179)
 * I to have the same issue clean install no plugins and keep getting this error
   Warning: number_format() expects parameter 1 to be double, string given in /home/
   xxxxxxx/public_html/xxxxxxxxx.com/wp-includes/functions.php on line 155
 * Please I need a fix for this
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635180)
 * If it’s a totally clean install that worked fine with single site, then the issue
   is your server. Or your install wasn’t right.
 *  [paulh16](https://wordpress.org/support/users/paulh16/)
 * (@paulh16)
 * [14 years ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635181)
 * Thanks Ipstenu for your help on this. It doesn’t seem to be affecting anything
   so far so maybe I’ll just wait and see if it disappears because the server makes
   necessary updates or it is a bug in WordPress itself.
 * Thanks again!
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635182)
 * If it was a bug in WP, it would affect a lot more people.
 *  [NA1](https://wordpress.org/support/users/na1/)
 * (@na1)
 * [14 years ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635183)
 * Hi,
 * paulh16 – You mentioned seeing this in the Network Admin’s Dashboard. In which
   widget do you see the message? Are any numbers in the messages there missing?
 * For example, in the case of one of my sites, the error appears in the “Right 
   Now” widget and there is a missing number in the message “You have 1 site and
   users.” (in my case, this network has over 17000 users).
 * The missing number can give us an idea which call to number_format is causing
   problems.
 * This error seems to happen a lot. I’ve seen it on multiple sites, including those
   of some of my clients. In many cases the cause can be traced to a plugin. But
   there are a lot of unsolved cases.
 * There is a related bug here:
 *  [http://core.trac.wordpress.org/ticket/19590](http://core.trac.wordpress.org/ticket/19590)
 * It’s not clear to me if this is related to the issue we’re seeing or not, though.
 * I’m not saying I have a solution, but wanted to post what I think is useful related
   info.
 * hth,
 *  [paulh16](https://wordpress.org/support/users/paulh16/)
 * (@paulh16)
 * [14 years ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635184)
 * Hi NA1,
 * I only see this in the Netwok Admin’s dashboard, but only in the “Right Now” 
   widget. I am getting the same message as you as well: “You have 3 sites and users”.
   There is no number for the users.
 * Thanks for adding this!
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635185)
 * I wonder what’s the same with all those clients, NA1, because I’ve seen a couple
   hundred multisites and never run into that one :/
 *  [NA1](https://wordpress.org/support/users/na1/)
 * (@na1)
 * [14 years ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635186)
 * I have a feeling it’s not the same reason each time. The function being called
   is number_format_i18n; this function is probably called a lot, both by core WordPress
   code and by plugins.
 * The error surfaces because of a null value being passed to this function. But
   the source of the null is upstream, possibly much earlier in the call stack. 
   Identifying it is probably going to be tricky.
 * I’m going to try to do a little more debugging when I get a chance. Will look
   at a few backraces, dump some vars, print some rs 😉 etc, to see what I can find.
   At present, I only have access to one site with this issue, but perhaps what 
   I find will be helpful.
 * Will post when I have updates, but it may be a while since this issue really 
   doesn’t affect the site’s functionality at all (it’s just a little annoying!).
   If anyone has more ideas, let us know.
 *  [Jussdoowit](https://wordpress.org/support/users/caleb-halbrook/)
 * (@caleb-halbrook)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635188)
 * Hey I had the same problem (receiving the same error message on the product’s
   page).
 * I noticed, however, that in the WP admin where I created the product on a new
   page, after I had input all the product info, it gave me the message “Price incorrect,
   please only enter a numeric value.” So I looked and where I had input the price,
   i put $6.00. So I changed it so that it only said 6.00 and updated the page, 
   price error message gone, refreshed the product page on the site, product error
   message GONE!!
 * I don’t know if that helps anybody but it worked for me.
    Might be something 
   to at least check.

Viewing 11 replies - 16 through 26 (of 26 total)

[←](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/?output_format=md)
[1](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/?output_format=md)
2

The topic ‘Network dashboard functions.php error’ is closed to new replies.

## Tags

 * [dashboard](https://wordpress.org/support/topic-tag/dashboard/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [network](https://wordpress.org/support/topic-tag/network/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 26 replies
 * 10 participants
 * Last reply from: [Jussdoowit](https://wordpress.org/support/users/caleb-halbrook/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/network-dashboard-functionsphp-error/page/2/#post-2635188)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
