WordPress.org

Ready to get started?Download WordPress

Forums

Functions.php Error (8 posts)

  1. dennishjmiller
    Member
    Posted 1 year ago #

    I am trying to install plugins and I get this error.

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

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

    Warning: number_format() expects parameter 1 to be double, string given in /home/audition/public_html/wp-includes/functions.php on line 155
    0 1 3 5 h m M

    This is my line error.
    This is line 155:
    $formatted = number_format( $number, absint( $decimals ), $wp_locale->number_format['decimal_point'], $wp_locale->number_format['thousands_sep'] );

    Please help.

  2. jibbius
    Member
    Posted 1 year ago #

    What plugin are you trying to install?

  3. dennishjmiller
    Member
    Posted 1 year ago #

    This occurs when I try to search for any new plugins. It returns this error and does not display any plugins for me to install.

    Dennis

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Can you replicate the problem using the default Twenty Twelve theme with all plugins deactivated?

  5. dennishjmiller
    Member
    Posted 1 year ago #

    I will try this. I deactivated all the plugins, same error when I attempt to search for new plugins, I will try this now.

    Dennis

  6. linkhousemedia
    Member
    Posted 7 months ago #

    Did anyone ever solve this? Same error for me all of a sudden. Deactivating all plugins and switching themes produces the same error.

  7. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    @linkhousemedia - unlikely to be the same issue - this thread is months old referencing WP 3.5.1. Best start your own thread if you need help -

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

  8. aartikhairnar
    Member
    Posted 7 months ago #

    number_format() expects parameter 1 to be double, string given in /home/content/48/11289448/html/wp-includes/functions.php on line 155
    i got this......

Topic Closed

This topic has been closed to new replies.

About this Topic