Forums

Secure Invites
[resolved] getting a PHP Fatal error (14 posts)

  1. Ovidiu
    Member
    Posted 1 year ago #

    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/

  2. jmunn
    Member
    Posted 1 year ago #

    Me as well. Any fix?

  3. Ovidiu
    Member
    Posted 1 year ago #

    not yet. I have somebody who offered to have a look and fix it for me. if he does I'll post here again...

  4. jmunn
    Member
    Posted 1 year ago #

    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');

  5. Ovidiu
    Member
    Posted 1 year ago #

    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

    should be a world readable forum if not, let me know.

  6. tugboss
    Member
    Posted 1 year ago #

    Hello ovidiu....are you able to post the fix here. WPMdev.org requires membership to see the fix

    thanks

  7. jmunn
    Member
    Posted 1 year ago #

    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.

  8. Ovidiu
    Member
    Posted 1 year ago #

    ok, here is the fixed code. http://pastebin.com/6SgeGsc5

  9. jmunn
    Member
    Posted 1 year ago #

    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.

  10. Ovidiu
    Member
    Posted 1 year ago #

    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?

  11. jmunn
    Member
    Posted 1 year ago #

    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

  12. Ovidiu
    Member
    Posted 1 year ago #

    well it worked for me and today the author released a fixed version. give that one a try.

  13. YOUAREtehSCENE
    Member
    Posted 1 year ago #

    Warning: Division by zero in /home/yats/youarethescene.net/wp-content/plugins/wordpress-mu-secure-invites/secure_invite.php on line 1456

    ANYHELP!

  14. Chris Taylor
    Member
    Posted 11 months ago #

    > 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic