• In my plugin-install.php file I have a bunch of warnings. My site had been down earlier today, but finally sorted that back out and I can place where the issues came in. Here are the warnings, the repeat – 12 times (I have 14 plugins installed).

    Warning: Illegal string offset 'name' in [INSTALL_DIR]/wp-admin/includes/plugin-install.php on line 152
    
    Warning: Illegal string offset 'name' in [INSTALL_DIR]/wp-admin/includes/plugin-install.php on line 153
    
    Warning: Illegal string offset 'name' in [INSTALL_DIR]/wp-admin/includes/plugin-install.php on line 154
    
    Warning: Illegal string offset 'name' in [INSTALL_DIR]/wp-admin/includes/plugin-install.php on line 155
    
    Warning: Illegal string offset 'count' in [INSTALL_DIR]/wp-admin/includes/plugin-install.php on line 156

    and the last 2 warnings are:

    Warning: number_format() expects parameter 1 to be double, string given in [INSTALL_DIR]/wp-includes/functions.php on line 170
    
    Warning: number_format() expects parameter 1 to be double, string given in [INSTALL_DIR]/wp-includes/functions.php on line 170

    It appears there are no errors forward facing, here is my url: https://styleperk.net/

    What I have done:
    Turned off all my plugins reloaded the page, did not fix.
    Reinstalled the newest version of wordpress, 4.2.2
    When in and directly installed the WP-Admin and WP-Includes folders, plus all the non folder PHP files.
    I even uninstalled 3 plugins that are no long in use on the site, just in case.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    but finally sorted that back out and I can place where the issues came in.

    Please pardon me, but I don’t understand what exactly is your question.

    Thread Starter Erica Simons

    (@etheisen)

    I fixed the site being down. Now I am left with the first bit of “warnings” that repeats 12 times and then it ends with the last 2 warnings. How to I get rid of the warnings or what could be the underlying cause of the warnings?

    I have never had these warnings before and I am trying to remove them from the page.

    Moderator t-p

    (@t-p)

    Check if debugging is on in your wp-config.php something like this:
    define( 'WP_DEBUG', true );

    If it is, then try changing it to:
    define( 'WP_DEBUG', false );

    Same problem here..

    Tara changing WP_DEBUG to either false or true doesn’t rid of the error. Hope someone has a solution to this

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘plugin-install.php error, can't figure it out’ is closed to new replies.