Title: Activating plugin resulted in error
Last modified: August 31, 2016

---

# Activating plugin resulted in error

 *  [pierreplus](https://wordpress.org/support/users/pierreplus/)
 * (@pierreplus)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/activating-plugin-resulted-in-error/)
 * I activated the plugin and got this: The page returned an error: 500 Internal
   Server Error
 * I played around with the settings and emptied the cache and still got the error.
   It always went away when I deactivated the plugin.
 * my site is [http://www.menanews.co](http://www.menanews.co)
 * thx
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/activating-plugin-resulted-in-error/#post-6907392)
 * > I played around with the settings
 * so do you also get the error when only enabling HTML optimization (so no JS and
   no CSS optimization)?
 *  Thread Starter [pierreplus](https://wordpress.org/support/users/pierreplus/)
 * (@pierreplus)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/activating-plugin-resulted-in-error/#post-6907395)
 * Just tried it again. Yes, it gives the same error.
 * thanks for your quick reply, btw 🙂
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/activating-plugin-resulted-in-error/#post-6907406)
 * in that case you have a conflict, with something (probably a plugin) that is 
   either doing something wrong with the output buffer OR trying to minify your 
   HTML as well.
 * 2 next steps are possible:
    1. look in your PHP-errorlog for an indication of
   what is going on OR 2. selectively deactivate each plugin (and/ or switch theme)
   and see if/ when the problem goes away
 * let me know if you’re able to identify the culprit!
    frank

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

The topic ‘Activating plugin resulted in error’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/activating-plugin-resulted-in-error/#post-6907406)
 * Status: not resolved