Title: Plugins hurt sometimes
Last modified: February 7, 2017

---

# Plugins hurt sometimes

 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/plugins-hurt-sometimes/)
 * Site: [http://educ.os42.com](http://educ.os42.com)
    Running 1.3a [23-11-04] nightly
   and I just tried to install a plugin. It messed up straight away so I thought–
   no problem – take it out and try something else. The only trouble is, even with
   it deleted from the plugin directory it seems to have caused problems elsewhere.
   I now get this message all over the site: Warning: Invalid argument supplied 
   for foreach() in /wp-settings.php on line 93 And then in admin on the plugins
   page I am getting two more messages: Warning: Invalid argument supplied for foreach()
   in plugins.php on line 32 and Warning: in_array(): Wrong datatype for second 
   argument in plugins.php on line 111 I tried replacing the plugins.php with the
   original file so not sure what to do now. Any ideas?? Edit: Just tried to activate
   Hello Dolly and received this message now Warning: Invalid argument supplied 
   for foreach() in wp-settings.php on line 93 Warning: in_array(): Wrong datatype
   for second argument in plugins.php on line 9 Fatal error: [] operator not supported
   for strings in plugins.php on line 10

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/plugins-hurt-sometimes/#post-115482)
 * Upgrade to the latest nightly.
 *  Thread Starter [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/plugins-hurt-sometimes/#post-115485)
 * Thank you Ryan. All fixed.
    One question. I simply copied over the top of my 
   existing files and it seems to be all working as it should. Is it always necessary
   to run the upgrade.php? I kept my original index, css and config files in place.
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/plugins-hurt-sometimes/#post-115487)
 * It is not always necessary when upgrading nightlies, obviously, but certainly
   wouldn’t hurt when there is a recent backup. It has been about 8 weeks since 
   a change in the upgrade-schema was made.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugins hurt sometimes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Beel](https://wordpress.org/support/users/beel/)
 * Last activity: [21 years, 6 months ago](https://wordpress.org/support/topic/plugins-hurt-sometimes/#post-115487)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
