Title: plugin-install.php error, can&#039;t figure it out
Last modified: August 30, 2016

---

# plugin-install.php error, can't figure it out

 *  [Erica Simons](https://wordpress.org/support/users/etheisen/)
 * (@etheisen)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-installphp-error-cant-figure-it-out/)
 * 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: [http://styleperk.net/](http://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](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-installphp-error-cant-figure-it-out/#post-6355397)
 * > 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](https://wordpress.org/support/users/etheisen/)
 * (@etheisen)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-installphp-error-cant-figure-it-out/#post-6355542)
 * 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](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/plugin-installphp-error-cant-figure-it-out/#post-6355544)
 * 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 );`
 *  [sledge81](https://wordpress.org/support/users/sledge81/)
 * (@sledge81)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-installphp-error-cant-figure-it-out/#post-6355719)
 * 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.

## Tags

 * [plugin-install.php](https://wordpress.org/support/topic-tag/plugin-install-php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [sledge81](https://wordpress.org/support/users/sledge81/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-installphp-error-cant-figure-it-out/#post-6355719)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
