• Resolved confusedneedhelp

    (@confusedneedhelp)


    Hi,

    I just tried to change an email address to check the admin notification email that I set up but it threw out this error when I clicked the link from the standard wordpress email change confirmation.

    Fatal error: Uncaught Error: Class ‘selff’ not found
    in /home/customer/www/srilankacaranddriverhire.com/public_html/wp-content/plugins/bnfw/bnfw.php on line 782

    Call stack:

    BNFW::should_email_changed_email_be_sent()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/plugin.php:189
    apply_filters()
    wp-includes/user.php:2397
    wp_update_user()
    wp-content/plugins/bbpress/includes/users/functions.php:354
    bbp_user_email_change_handler()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-content/plugins/bbpress/includes/core/sub-actions.php:432
    bbp_get_request()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-content/plugins/bbpress/includes/core/sub-actions.php:337
    bbp_template_redirect()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-includes/template-loader.php:13
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17

    I have not set up any replacement email for the user email change. Only an admin notification after change.

    Thanks for your help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @confusedneedhelp,
    Thanks for reporting this.

    I’ve just release version 1.8.10 which should fix this but do let me know if you experience any more issues.

    Thread Starter confusedneedhelp

    (@confusedneedhelp)

    Thanks, thats working now. However there seems to be another problem.

    I have added a notification for “User Email Changed Confirmation” which I believe is the email that delivers the link in question.

    However it is not changing the default email sent by WordPress. Additionally the Subject line is hidden on the Edit Notification screen.

    Plugin Author bnfw

    (@voltronik)

    Hi @confusedneedhelp,
    Thanks for your message.

    Can you post a link to a screenshot of the notification you’re using?

    Thread Starter confusedneedhelp

    (@confusedneedhelp)

    Hi,

    yes sure

    https://ibb.co/m0p9XhJ

    The div id “subject-wrapper” has a style display: none.

    Also, the notification which is enabled is not changing the standard wordpress email.

    Plugin Author bnfw

    (@voltronik)

    Hi @confusedneedhelp,
    That link says “page doesn’t exist” – are you able to re-post the link to the screenshot?

    Thread Starter confusedneedhelp

    (@confusedneedhelp)

    Sorry, i think it was set to autodelete.

    Try this:

    https://ibb.co/XJFwxY5

    Plugin Author bnfw

    (@voltronik)

    Hi @confusedneedhelp,
    Thanks.

    As seen in the screenshot, “This notification doesn’t support additional email fields due to a limitation in WordPress.”
    This is because the filter in WordPress that allows BNFW to override this notification so that you can edit it doesn’t allow for the subject field (along with other fields) to be edited. Other notifications also have the same issue.
    There’s nothing more I can do at the moent regarding this and it can only be fixed through an update to WordPress itself.

    Thread Starter confusedneedhelp

    (@confusedneedhelp)

    Ok, thanks I understand about the title. However the plugin is not changing the standard body text of the email. Do you know if this plugin is tested with Profile Builder? Your plugin is working for the password reset emails but not for this one. It only ever sends out the standard email change confirmation email.

    Thread Starter confusedneedhelp

    (@confusedneedhelp)

    It is not a problem with Profile Builder. I have deleted that plugin and I still can’t get the email body text to change. Notification is enabled.

    Thread Starter confusedneedhelp

    (@confusedneedhelp)

    The problem was that I have BBpress installed. You have to use the filter bbp_user_email_update_content to change the email text.

    Plugin Author bnfw

    (@voltronik)

    Hi @confusedneedhelp,
    Thanks for continuing to investigate.

    BNFW doesn’t support bbPress at this time so you may wish to use custom code for this particular notification.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error when changing email address’ is closed to new replies.