WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] number_format() error when trying to add new plugins

[Resolved] number_format() error when trying to add new plugins

  • linkhousemedia
    Member

    @linkhousemedia

    Hello,

    This is seems to be similar to this issue: http://wordpress.org/support/topic/functionsphp-error-9?replies=7

    I’m running 3.7.1 and see this error when trying to add new plugins by searching in the wordpress admin:

    Warning: number_format() expects parameter 1 to be double, string given in /home/gbairway/public_html/wp-includes/functions.php on line 165
    
    Warning: number_format() expects parameter 1 to be double, string given in /home/gbairway/public_html/wp-includes/functions.php on line 165
    
    Warning: number_format() expects parameter 1 to be double, string given in /home/gbairway/public_html/wp-includes/functions.php on line 165
    
    Warning: number_format() expects parameter 1 to be double, string given in /home/gbairway/public_html/wp-includes/functions.php on line 165
    2 3 h P W w

    I have tried deactivating all plugins and switching themes to default twentythirteen. Same error.

    Anyone have any ideas? Thanks.
    Jason

Viewing 15 replies - 1 through 15 (of 40 total)
  • Am setting up my site and ran across same problem in the last day or so. There doesn’t seem to be a clear solution or even an idea of where to troubleshoot.

    Frank McClung
    Member

    @fivemcclungs

    Same issue here with the add new plugins page after updating to wp 3.7.1. Can we get some answers here WP forum admins?

    WPyogi
    Forum Moderator

    @wpyogi

    Can we get some answers here WP forum admins?

    Everyone here is a volunteer. You’d be more likely to get a reply if you post your own thread –

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

    and include more details about your site/server.

    linkhousemedia
    Member

    @linkhousemedia

    You’d be more likely to get a reply if you post your own thread

    I really don’t think lots of different posts about the exact same error which seems to be un-reproducable will help.

    However, since I’m the OP, I’ll add that this install is running on the same server that most of my wordpress sites are (which is many). It’s a shared WHM/cPanel server running LiteSpeed Web Server, rather than Apache. I’m willing to bet that part doesn’t matter since there are likely people seeing this on Apache servers.

    Here’s a list of plugins I’m using:

    • Advanced Custom Fields
    • Advanced Custom Fields: Gallery Field
    • Antispam Bee
    • Facebook Widget
    • Formidable (upgraded to pro)
    • Google Analytics for WordPress
    • MailChimp for WordPress Pro
    • WooCommerce
    • WooCommerce Booking Plugin
    • WooCommerce Min/Max Quantities
    • WooCommerce Product Add-ons
    • WooCommerce Table Rate Shipping
    • WooSidebars
    • WooThemes Helper
    • WordPress SEO
    • WP User Avatar
    • YouTube SimpleGallery

    Again, the problems don’t disappear when the plugins are deactivated and the theme is switched to default.

    esmi
    Forum Moderator

    @esmi

    I really don’t think lots of different posts about the exact same error which seems to be un-reproducable will help.

    Sorry but that’s how these forums work.

    Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else’s thread. Start your own topic.

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

    linkhousemedia
    Member

    @linkhousemedia

    Sorry but that’s how these forums work.

    Okay. My mistake.

    Let’s talk about the actual issue now!

    These are what I have active that are on the linkhousemedia list.

    Advanced Custom Fields
    WooCommerce
    WooCommerce Product Add-ons
    WooThemes Helper

    I just added WooCommerce Product AddOns on Saturday and I believe WooCommerce and WooThemes Helper were updated in the last week. As noted deactivating and reactivating the plugins don’t do anything. Wouldn’t this have to be related to some entry in the database somewhere that is causing the problem when the website is trying to connect to wordpress.org.

    What is frustrating for me in trying to troubleshoot this problem is thta it has been brought up before in other posts and the posts are closed out without a solution.

    http://wordpress.org/support/topic/error-on-users-page-in-network-admin?replies=5

    http://wordpress.org/support/topic/functionsphp-error-9?replies=7

    http://wordpress.org/support/topic/functionsphp-error-10?replies=4

    http://wordpress.org/support/topic/network-dashboard-functionsphp-error?replies=27

    Thought a thread was closed out only when a definitive solution was found.

    WPyogi
    Forum Moderator

    @wpyogi

    What is frustrating for me in trying to troubleshoot this problem is thta it has been brought up before in other posts and the posts are closed out without a solution.

    None of those are about the current version of WP – and threads are automatically closed after one year – see:

    http://codex.wordpress.org/Forum_Welcome#Closing_Posts

    And (@btlewand) you’re still posting in a thread that is not yours.

    That said, have you tried the standard and widely posted troubleshooting steps of:

    deactivating all plugins AND switching to the default theme to see if that fixes the problem?

    resetting the plugins folder by FTP or PhpMyAdmin.

    re-uploading all files & folders – except the wp-content folder and wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    @wpyogi – did the basic drill (plugins on/off, different theme, reinstall) you recommended about 9 hours ago after reading through the threads with similar issues without a posted resolution. Note that others have done the same thing and are still getting the issue as well. I can find pretty much any solution online since most people have typically had a similar WordPress problem at one time or another except for this one and I’ve posted on the same thread as Linkhousemedia and Frank McClung since they are experiencing the same issue within the last few days and we all likely have the same issue.
    Don’t get the logic of opening up the same problem multiple times when the first instance of the posting isn’t solved and the other people are having the SAME exact issue.

    I guess I I’ll just sit back and wait and see what gets posted on this thread. At this point two years of posts with the same error message (regardless of the WP version) hasn’t had a final resolution other than getting closed out due to any further activity.

    Lastly scanned my site with Sucuri and everything is clean. Perhaps the next version of WP will fix it.

    WPyogi
    Forum Moderator

    @wpyogi

    If you have done all that, have you asked your hosting company? Which is who?

    Hosting company is SiteGround. No I haven’t since they would likely claim this type of issue is WordPress installation specific, but I will. My other sites they are hosting work fine.

    Guess for now everyone else on this thread should also check with their hosting company as well and post back. Correct?

    linkhousemedia
    Member

    @linkhousemedia

    There’s no way a host is going to say this is their issue. That’s a pass-the-buck answer. What do we say to them? “I’ve been using wordpress and all of a sudden the ‘add new plugin’ page is throwing a function error”? I can’t see them spending their time on that. I think my next test will be a new install of wordpress in a dev environment and start adding plugins one by one to see if one of them triggers the error. I can’t see that working though since I’d likely have to replicate every setting of every plugin.

    Back to square one.

    @wpyogi – I’m going to send my web host a support ticket and hopefully they won’t laugh at me.

    Here’s another post I commented on yesterday where people are having the same issue. Would think if all of a sudden a number of people are posting about the same problem, there might be a bigger issue to investigate. http://wordpress.org/support/topic/number_format-illegal-string-offset-count-errors-kills-add-new-plugins?replies=6#post-4949593

    Is there anyway to find out who is in charge of the connection between WordPress websites and WordPress.org? Issue doesn’t seem to be specific to a plugin as the plugin is usually noted in the error message and this issue is specific to connecting from a WordPress installation to the WordPress.org site. Since this issue never seemed to get resolved and appears to be intermittent for some, it would appear to be some bug or connection issue to the WordPress site. If we can’t resolve anything in this thread, can some sort of bug report be logged at WordPress to investigate?

    @wpyogi – Was curious to why the above thread I posted was closed: http://wordpress.org/support/topic/number_format-illegal-string-offset-count-errors-kills-add-new-plugins?replies=6#post-4949593? You noted that threads are closed after a year. That one was closed after four days without a resolution???? You also want everyone to open their own thread and when they do and can’t be answered it gets closed. Thought the purpose of these forums was to find solutions. I understand not every issue can be solved easily but as a moderator I would think there would be a process where multiple unresolved inquiries about similar problems get sent to WordPress after some point. How is that done?

    What we’re getting with this issue is “hi this is customer service, how can we help you? We don’t know what the problem is, sorry for the inconvenience, how else can we help?”

    Just received info from my web host. Site is running fine with no errors other than the WordPress new plugin install process generated from the functions.php. They recommended contacting WordPress :-). BTW – PHP version running on the site is 5.5.3 which was released in August 2013 just a few months before the latest WP release. Would hope that would not be an issue. Plus all my sites are on the same server and the other sites don’t have the WP error noted.

    Moderators: Please don’t close this thread until everyone noting this shared common issue has a solution that works. Thanks.

    WPyogi
    Forum Moderator

    @wpyogi

    I did not close it, but in general, threads that have many people chiming in become unwieldy and confusing, so they may get closed for that reason.

    I also just posted an email to the support email list asking for help with this issue with references to this and other threads. Those generally get read by senior developers so hopefully they’ll chime in here :).

Viewing 15 replies - 1 through 15 (of 40 total)
  • The topic ‘[Resolved] number_format() error when trying to add new plugins’ is closed to new replies.