WordPress.org

Ready to get started?Download WordPress

Forums

Another the plugin does not have a valid header post (4 posts)

  1. Blogotron
    Member
    Posted 1 year ago #

    Ok so I've seen other posts about plugins deactivating and giving the Error comment 'the plugin does not have a valid header' However I've yet to hear a simple solution to this problem. Some people say its the <?php white space before of after. Others say its a file within a file example askimet/askimet-plugin.php I have seen a reasonable or effective way to edit these problems within my FTP manager or in WordPress Editor. There must be a simple solution otherwise what's the point of this blog.

  2. ClaytonJames
    Member
    Posted 1 year ago #

    First, it's important to remember that no one else can see any issue you may currently be dealing with. The error you speak of can manifest itself for several reasons. The first thing you may want to do is let others know exactly what plugin is actually giving you the error. While you mention Akismet by example, I don't believe there is any issue with the Akismet plugin at this time.

    How about a little actual information, with some details, so that someone can make an attempt to intelligently assist you with the plugin that's causing your distress?

    As for the editing issue, you can simply use any plain text editor and any ftp client or file manager provided by your host to edit any file you like. You can also use the built in WordPress editor as long as you pay attention to the file permissions required to make files writable to the editor. Reference: Using the Theme Editor and Plugin Editor

  3. Blogotron
    Member
    Posted 1 year ago #

    Ok, So I have updated Askimet to the latest version 2.5.7. When I activate this plugin it remains activated for a little while but then deactivates itself. When I go back to the plugins tab on my dashboard, it gives me the message "the plugin does not have a valid header" in bold red box. So then I try to activate the plugin again and the same thing happens. But this Isn't just an issue with Askimet, it also effects my Jetpack plugin and Twitter plugin as well, deactivating and giving me the error message.

    This is the message word for word

    Plugins Add New

    The plugin akismet/akismet.php has been deactivated due to an error: The plugin does not have a valid header.

    The plugin jetpack/jetpack.php has been deactivated due to an error: The plugin does not have a valid header.

    The plugin twitter-plugin/twitter.php has been deactivated due to an error: The plugin does not have a valid header.

    Select All Plugin Description
    Select All Plugin Description
    You do not appear to have any plugins available at this time.

    1)If its a problem with the php, then I'm not sure how to fix it.
    2)I have also tried uploading the plugin directly from WordPress.com rather than installing it thru my plugins section of the dashboard. However the same error message happens.

  4. Blogotron
    Member
    Posted 1 year ago #

    Oh I forgot to mention all of these plugins are up to date.

Topic Closed

This topic has been closed to new replies.

About this Topic