Title: Error when activating plugins
Last modified: August 18, 2016

---

# Error when activating plugins

 *  [maddeadde](https://wordpress.org/support/users/maddeadde/)
 * (@maddeadde)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/)
 * When I try to activate a plugin a box comes up and it sais that the plugin is
   activated. But the link that sais activate the plugin still sais activate (it
   should say deactivated) and the plugin is not activated.
 * What can be the problem be?

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

 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309538)
 * What version of WP? What plugin?
 * Regards
 *  [tnakka](https://wordpress.org/support/users/tnakka/)
 * (@tnakka)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309571)
 * I have the same problem with WP2.0. I have made sure that the plugin is correctly
   installed.
 * Yesterday I had lots of problems with this, now in the morning i found that one
   plugin had the “deactivate”-button, but i cant deactivate it in the same way “
   maddeadde” cant activate her/his plugins.
 *  Thread Starter [maddeadde](https://wordpress.org/support/users/maddeadde/)
 * (@maddeadde)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309579)
 * I have WP 2.0 and I got the problem with all plugins
 *  [dieterich](https://wordpress.org/support/users/dieterich/)
 * (@dieterich)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309682)
 * I had the same problem until I stumbled across this site:
    [http://blog.hypercubed.com/index.php/archives/2005/12/26/wordpress-20-fix/](http://blog.hypercubed.com/index.php/archives/2005/12/26/wordpress-20-fix/)
   I replaced the first 25 lines of code as he suggested and whamo, my plugins now
   activate. just be sure to grab that last line of code with the ending bracket}.
   I missed it the first time and it returned many more errors than what I originally
   had.
 *  [tnakka](https://wordpress.org/support/users/tnakka/)
 * (@tnakka)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309725)
 * Thank You, Thank You, Thank You. Fixed my problem!!!
 *  Thread Starter [maddeadde](https://wordpress.org/support/users/maddeadde/)
 * (@maddeadde)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309727)
 * Thanks!
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309729)
 * You can also just download this copy from the SVN which has the patch applied:
 * [http://trac.wordpress.org/file/trunk/wp-admin/plugins.php?rev=3365&format=raw](http://trac.wordpress.org/file/trunk/wp-admin/plugins.php?rev=3365&format=raw)
 *  [scootabug](https://wordpress.org/support/users/scootabug/)
 * (@scootabug)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309767)
 * The fix suggested by dieterich worked for me.
 * FYI i’m using Windows Server 2003 with Plesk 7.5 for Windows.
 * But now I’m about to load the new plugins.php since I just noticed it at the 
   bottom. Thanks for the help guys, love the support! Cheers.
 *  [basilv](https://wordpress.org/support/users/basilv/)
 * (@basilv)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309848)
 * The solutions in the above posts by dieterich and Viper007Bond worked for me 
   as well. (I’m running WordPress 2.0 under IIS). Thanks very much.
 *  [olamust](https://wordpress.org/support/users/olamust/)
 * (@olamust)
 * [20 years ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309926)
 * I have a question, we did the fix but still plug ins arent working.
 * 1. should this be done after uninstalling the plugins or does it matter?
 * 2. once the patch is run should i uninstall and reinstall the plug ins?
 *  [greeenkaos](https://wordpress.org/support/users/greeenkaos/)
 * (@greeenkaos)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309960)
 * I’ve tried the solutions in this thread as well as adding the lines
 * `set_magic_quotes_runtime('0');
    ini_set("magic_quotes_gpc","0");
 * to wp-config.php and I still have plugins that won’t activate or deactivate. 
   I’ve deleted many of them and still no luck. Anyone else find a different solution?
 *  [greeenkaos](https://wordpress.org/support/users/greeenkaos/)
 * (@greeenkaos)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309961)

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

The topic ‘Error when activating plugins’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 12 replies
 * 9 participants
 * Last reply from: [greeenkaos](https://wordpress.org/support/users/greeenkaos/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-plugins/#post-309961)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
