Title: [Plugin: Secure Invites] getting a PHP Fatal error
Last modified: August 19, 2016

---

# [Plugin: Secure Invites] getting a PHP Fatal error

 *  Resolved [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/)
 * found this in my log files:
 * `[Tue Oct 19 14:24:03 2010] [warn] mod_fcgid: stderr: PHP Fatal error: Call to
   undefined function is_user_logged_in() in /var/www/clients/clientxx/webxx/web/
   unkie/wp-content/plugins/wordpress-mu-secure-invites/secure_invite.php on line
   190`
 * [http://wordpress.org/extend/plugins/wordpress-mu-secure-invites/](http://wordpress.org/extend/plugins/wordpress-mu-secure-invites/)

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

 *  [jmunn](https://wordpress.org/support/users/jmunn/)
 * (@jmunn)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727756)
 * Me as well. Any fix?
 *  Thread Starter [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727759)
 * not yet. I have somebody who offered to have a look and fix it for me. if he 
   does I’ll post here again…
 *  [jmunn](https://wordpress.org/support/users/jmunn/)
 * (@jmunn)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727766)
 * I put the following line at the beginning of the plugin. Pretty sure it it poor
   form but seems to be doing the trick.
    `require_once('/yourrootaddress/public_html/
   wp-includes/pluggable.php');`
 *  Thread Starter [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727768)
 * I got a fixed version in this thread here, works for me: [http://premium.wpmudev.org/forums/topic/is_user_logged_in-gives-me-errors](http://premium.wpmudev.org/forums/topic/is_user_logged_in-gives-me-errors)
 * should be a world readable forum if not, let me know.
 *  [tugboss](https://wordpress.org/support/users/tugboss/)
 * (@tugboss)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727769)
 * Hello ovidiu….are you able to post the fix here. WPMdev.org requires membership
   to see the fix
 * thanks
 *  [jmunn](https://wordpress.org/support/users/jmunn/)
 * (@jmunn)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727773)
 * My previous comment and “fix” is getting rid of the white screen and “is_user_logged_in()”
   error but invites are not allowing users to register. Bah… my fix is not so much
   of a fix I guess.
 *  Thread Starter [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727774)
 * ok, here is the fixed code. [http://pastebin.com/6SgeGsc5](http://pastebin.com/6SgeGsc5)
 *  [jmunn](https://wordpress.org/support/users/jmunn/)
 * (@jmunn)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727778)
 * Thanks Ovidiu. I’ve got it now so that it sends invites, the people that should
   be able to register can, and those that are logged in can create blogs. However
   it can’t search for users and it is not showing any of the invite history. Really
   just wondering if you all are getting the same issues or if I have some weirdness
   going on.
 *  Thread Starter [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727786)
 * the code I posted above works.
    not sure what you mean by “search for users”?
   why should this plugin search for users? where exactly? I can see the history.
   are you using the modded version I gave above?
 *  [jmunn](https://wordpress.org/support/users/jmunn/)
 * (@jmunn)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727787)
 * I am using the modded version from pastebin, thanks. The things that are not 
   working are the “Invitation list” page and the “Special Users” page. No invitations
   are show and no users can be found on those pages. Some of the stuff on the setting
   page has been working but not all. For instance the “Signup settings” won’t modify
   the actual `[signuplink]` . If these things are working for others perhaps I 
   should do a thorough delete and reinstall? -Thanks
 *  Thread Starter [Ovidiu](https://wordpress.org/support/users/ovidiu/)
 * (@ovidiu)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727788)
 * well it worked for me and today the author released a fixed version. give that
   one a try.
 *  [YOUAREtehSCENE](https://wordpress.org/support/users/youaretehscene/)
 * (@youaretehscene)
 * [15 years ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727840)
 * Warning: Division by zero in /home/yats/youarethescene.net/wp-content/plugins/
   wordpress-mu-secure-invites/secure_invite.php on line 1456
 * ANYHELP!
 *  Plugin Author [Chris Taylor](https://wordpress.org/support/users/mrwiblog/)
 * (@mrwiblog)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727843)
 * > Warning: Division by zero in /home/yats/youarethescene.net/wp-content/plugins/
   wordpress-mu-secure-invites/secure_invite.php on line 1456
 * This was fixed in version 1.2.1.
 * I think the other problem (undefined function is_user_logged_in()) should be 
   fixed as well.

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

The topic ‘[Plugin: Secure Invites] getting a PHP Fatal error’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mu-secure-invites.svg)
 * [Secure Invites](https://wordpress.org/plugins/wordpress-mu-secure-invites/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mu-secure-invites/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mu-secure-invites/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mu-secure-invites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mu-secure-invites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mu-secure-invites/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [Chris Taylor](https://wordpress.org/support/users/mrwiblog/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-secure-invites-getting-a-php-fatal-error/#post-1727843)
 * Status: resolved