• cpilko

    (@cpilko)


    Hi there:

    Great plugin. I just updated to 1.15 this morning and I am now getting a warning in the “Invite a Friend” dashboard widget and in the profile area on the homepage for logged in users with permissions to invite other users:

    Warning: Missing argument 1 for secure_invite_user_invites_remaining(), called in ../wp-content/plugins/wordpress-mu-secure-invites/secure_invite.php on line 1769 and defined in ../wp-content/plugins/wordpress-mu-secure-invites/secure_invite.php on line 1954

    I’m running WP 3.1, BP 1.2.8, and PHP 5.2.14.

    http://wordpress.org/extend/plugins/wordpress-mu-secure-invites/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter cpilko

    (@cpilko)

    Oh, as a follow up, multi-site is disabled on my WP install.

    jruiz

    (@jruiz)

    I also had the same problem, besides losing the translation with each update. Since the plugin has only one file, I uploaded the old file, just changing the version 1.1.5. It’s working for now …

    Thread Starter cpilko

    (@cpilko)

    The fix to this is edit the secure_invite.php file and search for secure_invite_user_invites_remaining() there are three instances at lines 1713, 1769 and 2139.

    Replace these with: secure_invite_user_invites_remaining($current_user->ID) and the problems will be fixed.

    karkajou automaton

    (@karkajou-automaton)

    That fix works for WP 3.1.1 plus Buddypress.
    Thanks for posting it.

    Plugin Author Chris Taylor

    (@mrwiblog)

    > The fix to this is edit the secure_invite.php file and search for secure_invite_user_invites_remaining() there are three instances at lines 1713, 1769 and 2139.

    Sorry about this, the latest version (1.2) will fix this bug.

    > losing the translation with each update

    I’m very sorry about this, in a future version I will do the translation stuff properly.

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

    any help?

    Plugin Author Chris Taylor

    (@mrwiblog)

    This was fixed in version 1.2.1.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Secure Invites] PHP Missing Argument Warning in 1.15’ is closed to new replies.