Title: Error when changing email address
Last modified: February 8, 2022

---

# Error when changing email address

 *  Resolved [confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/)
 * 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 [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15342801)
 * Hi [@confusedneedhelp](https://wordpress.org/support/users/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](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15342838)
 * 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 [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15345578)
 * Hi [@confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/),
   
   Thanks for your message.
 * Can you post a link to a screenshot of the notification you’re using?
 *  Thread Starter [confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15345619)
 * Hi,
 * yes sure
 * [https://ibb.co/m0p9XhJ](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 [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15353811)
 * Hi [@confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/),
   
   That link says “page doesn’t exist” – are you able to re-post the link to the
   screenshot?
 *  Thread Starter [confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15354055)
 * Sorry, i think it was set to autodelete.
 * Try this:
 * [https://ibb.co/XJFwxY5](https://ibb.co/XJFwxY5)
 *  Plugin Author [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15361677)
 * Hi [@confusedneedhelp](https://wordpress.org/support/users/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](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15361983)
 * 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](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15362524)
 * 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](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15369064)
 * 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 [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15370181)
 * Hi [@confusedneedhelp](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/bnfw/assets/icon.svg?rev=2531573)
 * [Customize WordPress Emails and Alerts - Better Notifications for WP](https://wordpress.org/plugins/bnfw/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bnfw/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bnfw/)
 * [Active Topics](https://wordpress.org/support/plugin/bnfw/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bnfw/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bnfw/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/error-when-changing-email-address/#post-15370181)
 * Status: resolved