• Resolved Torsten H?ndler

    (@shogathu)


    Hello,
    I have 2 problems.

    1. I get “Fatal error: Uncaught Error: Attempt to assign property “add_checkout_fields” on null
    in /var/www/html/wp-content/plugins/wp-members/includes/admin/tabs/class-wp-members-admin-tab-options.php on line 624
    when I save settings
    2. 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

    (@cbutlerjr)

    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

    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/

    Thread Starter Torsten H?ndler

    (@shogathu)

    Hello @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.