Title: Invalid header?
Last modified: August 22, 2016

---

# Invalid header?

 *  Resolved [dandann](https://wordpress.org/support/users/dandann/)
 * (@dandann)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-header-21/)
 * When i move to activate the plugin, I get a gray screen that says, “The plugin
   does not have a valid header.” How do i remedy this?
 * Thanks
 * [https://wordpress.org/plugins/etsy-importer/](https://wordpress.org/plugins/etsy-importer/)

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

 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-header-21/#post-5845502)
 * Hi Dandann, hopefully you’ve figured this out already, but just in case, I’ll
   chime in.
 * What method did you use to install the plugin? Manual upload of the zip file?
   or from the WP Admin?
 * It looks like we have the right, valid header, but I’m also seeing a weird mix
   from the 1.3.0 tag folder in the repo, which we’ll need to discuss internally.
 *  [avantm](https://wordpress.org/support/users/avantm/)
 * (@avantm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/invalid-header-21/#post-5845630)
 * I got exactly the same issue. It’s a type-o on the plug-in installer which seems
   to be using JS syntax instead of PHP syntax. An easy fix:
 * Click on “Edit” for the Etsy Importer plug-in, then
 * Change:
    // Define the base plugin directory for use throughout the plugin
 * To:
    /* Define the base plugin directory for use throughout the plugin */
 * and save. You can know activate the plug-in.
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 4 months ago](https://wordpress.org/support/topic/invalid-header-21/#post-5845632)
 * `//` is a valid PHP comment method. Not sure why things seem to occasionally 
   trigger this error still.
 *  [tande](https://wordpress.org/support/users/tande/)
 * (@tande)
 * [11 years ago](https://wordpress.org/support/topic/invalid-header-21/#post-5845675)
 * Just to chime in, I also had the ‘valid header’ issue.
 * Used the solution avantm suggested and it’s now working for me.
 * Agree that // shouldn’t be the cause of the problem, but changing it does fix
   it.
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years ago](https://wordpress.org/support/topic/invalid-header-21/#post-5845676)
 * [https://github.com/coreymcollins/Etsy-Product-Importer-for-WordPress/issues/5](https://github.com/coreymcollins/Etsy-Product-Importer-for-WordPress/issues/5)

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

The topic ‘Invalid header?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/etsy-importer.svg)
 * [Etsy Importer](https://wordpress.org/plugins/etsy-importer/)
 * [Support Threads](https://wordpress.org/support/plugin/etsy-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/etsy-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/etsy-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/etsy-importer/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [troubleshooting](https://wordpress.org/support/topic-tag/troubleshooting/)

 * 5 replies
 * 4 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/invalid-header-21/#post-5845676)
 * Status: resolved