WordPress.org

Ready to get started?Download WordPress

Forums

Invite Anyone
The plugin does not have a valid header need help :( (11 posts)

  1. buddyrhev
    Member
    Posted 3 years ago #

    Hello Master Boone,

    I'm having a problem activating the plug in... it always saying

    "The plugin does not have a valid header."

    I'm using the latest BP version and WP version 3.2.1

    thanks Master Boone

  2. moonspellsquinte
    Member
    Posted 3 years ago #

    I received the same error when initially installing the plugin.

    I was able to get it working by going to the main plugins page and activating it from there.

    Cheers,
    Geary

  3. acrovin
    Member
    Posted 3 years ago #

    I have faced the same problem too, The happens because some developers put their plugin code in a sub folder in the main folder. Just unzip the main plugin folder and you will see a sub folder that contains the plugin files. Zip that sub folder again and upload , it will work .

    Acrovin

  4. Brian Bowman
    Member
    Posted 2 years ago #

    I also received the same error message, but was able to get it working by going to the main plugins page and activating it.

  5. davelopware
    Member
    Posted 2 years ago #

    Go to...

    Plugins -> Installed Plugins -> Invite Anyone -> Edit

    change the first 3 lines from:

    <?php
    
    /*

    to:

    <?php
    /*

    ie. remove the blank line from between <?php and the /*

    You should then be able to activate the plugin.

    Having said that, I've activated it and still can't see the Send Invite link :(

  6. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 years ago #

    davelopware - Thanks for finding this issue. I've taken out the line and tagged version 1.0.2.

  7. davelopware
    Member
    Posted 2 years ago #

    No problem ;)

  8. carolyn03press
    Member
    Posted 2 years ago #

    I have the same issue. The lines are correct as shown. I only just downloaded this, so its version 1.0.4.

    "The plugin does not have a valid header."

  9. Brian McCain
    Member
    Posted 2 years ago #

    I just downloaded it and went to install it, and got the same error when I tried to activate it.

  10. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 years ago #

    I still can't reproduce. Can you say more about your setup? Network mode or not?

  11. andy.mcdonald
    Member
    Posted 2 years ago #

    I had the same problem as everyone else. When I installed this plugin the code already looked like

    <?php
    /*

    What I did is I also removed the blank line right after the header comments and right before

    define( 'BP_INVITE_ANYONE_VER', '1.0.6' );
    define( 'BP_INVITE_ANYONE_DB_VER', '1.0.6' );

    So it looks like this

    <?php
    /*
    Plugin Name: Invite Anyone
    Plugin URI: http://teleogistic.net/code/buddypress/invite-anyone/
    Description: Allows group admins to invite any member of their BuddyPress community to a group or to the site
    Version: 1.0.6
    Author: Boone Gorges
    Author URI: http://boonebgorges.com
    */
    define( 'BP_INVITE_ANYONE_VER', '1.0.6' );
    define( 'BP_INVITE_ANYONE_DB_VER', '1.0.6' );

    Then when I saved it and clicked activate, It finally worked.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic