Title: [Plugin: Invite Anyone] Cannot activate
Last modified: August 20, 2016

---

# [Plugin: Invite Anyone] Cannot activate

 *  [James Thomson](https://wordpress.org/support/users/james-thomson/)
 * (@james-thomson)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-invite-anyone-cannot-activate/)
 * Hi I am trying to install this plugin on a Buddypress enabled site using the 
   Genesis framework. My versions are WP3.2.1, BP1.2.10 and v1.0.1 of the plugin.
 * If I try to network activate I get a line saying ‘this plugin has no header’
 * If I try to activate it at site level I get an error message reading ‘Fatal error:
   Call to a member function get() on a non-object in /home/extrafri/public_html/
   wp-includes/query.php on line 27’ which seems to reference an entry with a description
   linked to Buddypress 1.5
 * To solve this I searched this forum and tried to fix it by examining the folder
   and subfolder structure listed in another thread but all seemed OK.
 * Can you help me please.
 * Thanks.
 * [http://wordpress.org/extend/plugins/invite-anyone/](http://wordpress.org/extend/plugins/invite-anyone/)

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

 *  [davelopware](https://wordpress.org/support/users/davelopware/)
 * (@davelopware)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-invite-anyone-cannot-activate/#post-2302792)
 * 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 
   🙁
 *  Thread Starter [James Thomson](https://wordpress.org/support/users/james-thomson/)
 * (@james-thomson)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-invite-anyone-cannot-activate/#post-2302846)
 * Hi
 * Thanks for the reply. I am running v1.0.4 and the first three lines are already;
 * **<?php
    /\* Plugin Name: Invite Anyone Plugin URI: [http://teleogistic.net/code/buddypress/invite-anyone/](http://teleogistic.net/code/buddypress/invite-anyone/)
 * Thats in the inviteanyone.php file. Unless I should be looking in an alternative?
 * Thanks
 * James.

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

The topic ‘[Plugin: Invite Anyone] Cannot activate’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/invite-anyone.svg)
 * [Invite Anyone](https://wordpress.org/plugins/invite-anyone/)
 * [Support Threads](https://wordpress.org/support/plugin/invite-anyone/)
 * [Active Topics](https://wordpress.org/support/plugin/invite-anyone/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/invite-anyone/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/invite-anyone/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [James Thomson](https://wordpress.org/support/users/james-thomson/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-invite-anyone-cannot-activate/#post-2302846)
 * Status: not resolved