Title: Plugin Activation due to header
Last modified: December 28, 2016

---

# Plugin Activation due to header

 *  Resolved [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-activation-due-to-header/)
 * This plugin produces the following WP Error upon activation:
 * [no_plugin_header] => Array
    ( [0] => The plugin does not have a valid header.)
 * The reason is simply because you don’t have the header at the very top of the
   main plugin file. This can be a problem if your other text is too large as WordPress
   only consumes a small portion of the headers of the files to parse all possible
   plugins in the folder.
 * Worth swapping the order of your WordPress plugin header text with your license
   text

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

 *  Plugin Author [Mailgun](https://wordpress.org/support/users/mailgun/)
 * (@mailgun)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-activation-due-to-header/#post-8598062)
 * Alright, I’ll take care of that in the 1.5.5 release. Thanks.
 *  Plugin Author [Mailgun](https://wordpress.org/support/users/mailgun/)
 * (@mailgun)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-activation-due-to-header/#post-8598136)
 * [@paultgoodchild](https://wordpress.org/support/users/paultgoodchild/) You mind
   trying the 1.5.5 beta release to ensure this still doesn’t happen? [Here](https://downloads.wordpress.org/plugin/mailgun.1.5.5.zip)
   is the 1.5.5 beta release zip.
 *  Thread Starter [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-activation-due-to-header/#post-8599955)
 * yep, this looks better, thanks!
 *  Plugin Author [Mailgun](https://wordpress.org/support/users/mailgun/)
 * (@mailgun)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-activation-due-to-header/#post-8601051)
 * Thank you for testing!

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

The topic ‘Plugin Activation due to header’ is closed to new replies.

 * ![](https://ps.w.org/mailgun/assets/icon-256x256.png?rev=2434524)
 * [Mailgun for WordPress](https://wordpress.org/plugins/mailgun/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailgun/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailgun/)
 * [Active Topics](https://wordpress.org/support/plugin/mailgun/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailgun/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailgun/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mailgun](https://wordpress.org/support/users/mailgun/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-activation-due-to-header/#post-8601051)
 * Status: resolved