0

I just upgraded from 3.0 to 3.1.2 and in the comments column under Posts in the WP Admin, this error keeps appearing for every row:

Warning: number_format() expects parameter 1 to be double, string given in /path/mysite/wp-includes/functions.php on line 155

Can someone tell me how to fix this?

3
  • What Plugins do you have installed? Commented May 10, 2011 at 18:04
  • Advanced Excerpt, Akismet, Category pagination fix, Disqus Comment System, Feed JSON, WordPress Importer, and Yet Another RElated Posts plugin
    – Zoolander
    Commented May 10, 2011 at 18:08
  • What normally displays in that column? That is not a default Column (EDIT: actually, yes it is). I suspect the warning is coming from Disqus? Commented May 10, 2011 at 18:46

1 Answer 1

2

The "Comments" column is not a default/core column in the "Posts" page. Perhaps it is being generated by your Disqus Plugin?

Try temporarily disabling the Disqus Plugin, and see if the PHP notices go away.

EDIT: actually, it is a default column. But I still suspect Disqus is causing the PHP warning.

2
  • This error has been reported here for the Disqus plugin. So if Zoolander can confirm it is Disqus, this question becomes a duplicate.
    – Jan Fabry
    Commented May 10, 2011 at 19:15
  • Yes, when I deactivated the Disqus plug-in, the warning went away. Unfortunately, it needs to remain activated, so now it's just a matter of fixing the plug-in. :(
    – Zoolander
    Commented May 10, 2011 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.