Have you ever got this error while activating a WordPress plugin “Plugin does not have a valid header”. Don’t panic here is a very simple solution that tends to work most of the time.
- The reason why you get this error in WordPress?
The actual plugin files are off the main root files. For example say you downloaded & installed the plugin “Lightbox”, your plugin path and files should be
wp-content/plugins/lightbox
But in case of a “Plugin does not have a valid header” error your plugin path should be someward
wp-content/plugins/lightbox/files
The main files are off the root file as in the example here it’s in a folder called files, where the main files should be inside the lightbox folder not in a sub folder.
- Solution
Use a FTP or by using the Cpanel file manger “move” option, move the files into the main directory. In other way as soon as you open the folder “lightbox” you should find your WordPress plugin files.
Still confused reply to this blog post we’d be happy to assist you


