Support » Fixing WordPress » WordPress 2.8 plugin solutions

  • Resolved dja360

    (@dja360)


    Hi,

    Thought I might post this for anyone getting this error message for certain plugins after upgrading to WordPress 2.8:

    “The plugin does not have a valid header.”

    I had the same problem with two plugins I was using – wbQuiz and Random Posts Widget.

    By moving the main php file out of a subfolder and placing it in the main plugin root folder the problems sorted itself out and the plugins worked.

    E.g. For the wbQuiz plugin

    The wb_quiz.php and wb_quiz_question.php files were located within the “plugin” folder off the main root folder i.e.

    wp-content/plugins/wbQuiz/plugins/wb_quiz.php
    wp-content/plugins/wbQuiz/plugins/wb_quiz_questions.php

    By moving these files out of the plugins folder and into the root folder (along with any other tests the user may have created and placed in the plugins folder) the problems in WordPress 2.8 is rectified

    i.e it should be structured like this

    wp-content/plugins/wbQuiz/wb_quiz.php
    wp-content/plugins/wbQuiz/wb_quiz_questions.php

    I found the same thing with the Related Posts Widget plugin. The related-posts.php file was originally located in a subfolder off the main plugin root folder i.e.

    wp-content/plugins/related-posts/related-posts/related-posts.php

    By moving the php file up one level to:

    wp-content/plugins/related-posts/related-posts.php

    the plugin worked perfectly and no error messages.

    Not sure if this will work for everyone else who is getting the “The plugin does not have a valid header.” message but worth a go.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress 2.8 plugin solutions’ is closed to new replies.