Register Plus Redux
[resolved] Fatal error: rpr-new-user-notification.php on line 35 (5 posts)

  1. OmanusH
    Posted 2 years ago #

    I'm trying out Register Plus Redux v3.9.2 on a fresh wordpress installation. I gotta say, this is an excellent plugin..

    I'm having problem when I enable "send administrator an email whenever a new user registers". After pressing "register" button I get the following error:

    Fatal error: Call to undefined method Register_Plus_Redux::sendAdminMessage() in /home/mmaven/public_html/members/wp-content/plugins/register-plus-redux/rpr-new-user-notification.php on line 35

    Disabled it...registration worked fine, but when user click the verification link the following error shows up above the login form:

    Warning: Missing argument 3 for Register_Plus_Redux::send_admin_mail(), called in /home/mmaven/public_html/members/wp-content/plugins/register-plus-redux/rpr-login.php on line 440 and defined in /home/mmaven/public_html/members/wp-content/plugins/register-plus-redux/register-plus-redux.php on line 434

    Other than that everything is working fine.

    BTW, is it possible to use %user_firstname% keyword in the welcome email template?



  2. radiok
    Plugin Author

    Posted 2 years ago #

    Ugh, yeah, that's a really stupid bug, I renamed that function to send_admin_mail. To resolve this bug edit rpr-new-user-notification.php line 35 from:
    $register_plus_redux->sendAdminMessage( $user_id, $plaintext_pass, isset( $verification_code ) ? $verification_code : '' );
    $register_plus_redux->send_admin_mail( $user_id, $plaintext_pass, isset( $verification_code ) ? $verification_code : '' );

    This will be resolved in v3.9.3 going forward.

  3. radiok
    Plugin Author

    Posted 2 years ago #

    As for your other question, regarding a %user_firstname% keyword. That would be an enhancement, I'm going to check it out shortly and may roll that into v3.9.3 also, I'll update this topic with more information soon.

  4. OmanusH
    Posted 2 years ago #

    Thanks radiok! Your plugin solved all my problems...I've been looking for a simple all-in-one registration plugin...even paid for s2Member Pro (too complicated). Today by chance I found it and it happened to be most recent update. Thanks again for great work! I'll be checking your blog for updates.

    Just few thoughts:
    The %user_firstname% + %user_lastname% keywords will make the outgoing emails more friendly to the recipient. Also having an option to redirect user after login to a specific page gonna make the plugin complete...at least for me.

  5. radiok
    Plugin Author

    Posted 2 years ago #

    OK, I implemented a solution I'm calling dynamic keywords, they are as yet undocumented but will be in v3.9.3 in the next few hours. The keywords are specified with the following syntax %=keyword%. Specifically in your case you would add "%=first_name% %=last_name%" to your custom message to output "First Last" into you message.

    As for login redirect, I would direct you to my FAQ, specifically the section "I do not want users to go to the Dashboard after logging in. How do I redirect users after they login?" https://wordpress.org/extend/plugins/register-plus-redux/faq/

    Let me know how everything works out for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic