Title: Critical error when save settings
Last modified: April 25, 2023

---

# Critical error when save settings

 *  Resolved [Torsten Händler](https://wordpress.org/support/users/shogathu/)
 * (@shogathu)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-when-save-settings/)
 * Hello,
   I have 2 problems. 1. I get “**Fatal error**: Uncaught Error: Attempt 
   to assign property “add_checkout_fields” on nullin **/var/www/html/wp-content/
   plugins/wp-members/includes/admin/tabs/class-wp-members-admin-tab-options.php**
   on line **624**“when I save settings2. There is no password reset link at the
   login Formular.Dev Environtment:Clean and fresh WP 6.2, PHP8.0, no extra plugins,
   default wp theme, newest plugin version.Hope you can help me.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-when-save-settings/#post-16685733)
 * On the first issue, it’s a known problem and it will be corrected in the next
   release.
 * It only occurs on saving the settings, and actually any updated settings are 
   saved – it’s just on the reloading of the settings for that particular page view(
   the options tab) when in the “updated settings” state.
 * There is a patch for the issue until the next update. You can replace the file
   wp-members/includes/admin/tabs/class-wp-members-admin-tab-options.php with the
   version at the gist below:
 * [https://gist.github.com/rocketgeek/bab08b67552849b7115b48ad6e6bbd03](https://gist.github.com/rocketgeek/bab08b67552849b7115b48ad6e6bbd03)
 * For your other question, the password reset link is generated by the setting 
   for the location of the user profile page (which is what handles password reset,
   among other things). If you have not set up a user profile page and have not 
   set the page in that setting, that’s why you don’t have a password reset link.
   See the following in the documentation on how to set this up: [https://rocketgeek.com/plugins/wp-members/docs/user-profile/](https://rocketgeek.com/plugins/wp-members/docs/user-profile/)
 *  Thread Starter [Torsten Händler](https://wordpress.org/support/users/shogathu/)
 * (@shogathu)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-when-save-settings/#post-16691338)
 * Hello [@cbutlerjr](https://wordpress.org/support/users/cbutlerjr/),
 * Thanks for your response.
   1. Ok, I will wait for the new release.2. Thanks for
   that, I think I missunderstood the difference between “password reset” and “password
   lost” and I thought that there is also a “password reset” at the login form, 
   but I notice the “password lost” link after wrong crediential and that I can 
   use a filter to add an extra link for “password lost” at the form
 * So thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Critical error when save settings’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Torsten Händler](https://wordpress.org/support/users/shogathu/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-when-save-settings/#post-16691338)
 * Status: resolved