• Resolved rebeccareincke

    (@rebeccareincke)


    Hi,

    I have installed the membership 2 plugin on a site and having some errors when going to edit the user within the subscription details. When i edit anything under the manage subscriptions and click save changes, if throws back and an error page.

    How would we go about fixing this?

    Thanks
    Becca
    —————————————————–

    I have had our developer look in to it and he has said the below:

    —————————————————–

    This is a problem generated by ms2, for some reason it thinks the form is to create a new user then throws an exception because you’re already logged in.

    I’ve had a look but it’s pretty well entrenched in the plugin. It would be worth contacting the developer to see if a fix is available.

    Here is the error in full:

    Fatal error: Uncaught exception ‘Exception’ with message ‘You cannot register a new account, because you are already logged in.’ in /home/thenetwork/public_html/wp-content/plugins/membership/app/model/class-ms-model-member.php:989 Stack trace: #0 /home/thenetwork/public_html/wp-content/plugins/membership/app/model/class-ms-model-member.php(939): MS_Model_Member->create_new_user() #1 /home/thenetwork/public_html/wp-content/plugins/membership/app/controller/class-ms-controller-member.php(368): MS_Model_Member->save() #2 [internal function]: MS_Controller_Member->members_admin_page_process_editor(”) #3 /home/thenetwork/public_html/wp-includes/plugin.php(525): call_user_func_array(Array, Array) #4 /home/thenetwork/public_html/wp-admin/admin.php(226): do_action(‘load-membership…’) #5 {main} thrown in /home/thenetwork/public_html/wp-content/plugins/membership/app/model/class-ms-model-member.php on line 989

    You can display this error by editing functions.php in the theme and adding ini_set(‘display_errors’, 1); after the opening <?php tag.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Becca,

    Thanks for the detailed report, I tested this on my installation but I couldn’t replicate the issue.

    Could you try performing a conflict test by disabling your other plugins and saving M2 changes after that?

    Also, could you attach few screenshots of the process so I can make sure I’m not missing anything while testing?

    Cheers,
    Predrag

    Thread Starter rebeccareincke

    (@rebeccareincke)

    Hi Predrag,

    Thanks for the info above, i can try that and see if it works. In the meantime i can upload some screengrabs, how do i do this?

    Many thanks
    Becca

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @rebeccareincke, I hope all is well!

    There are several services that you can use. You can upload screenshots with Monosnap, LightShot, you can even aupload a screenshot tp the DropBox or to a Google Drive and share the links to these images with us.

    I hope this will help!

    Cheers,
    Nastia

    Thread Starter rebeccareincke

    (@rebeccareincke)

    Hi,

    I have added the screen grabs to google drive. Please see this link https://drive.google.com/drive/folders/0Bw7LgdxR5Q0ROUtQcER6QWhvN28?usp=sharing
    this goes through the steps to the error pages.

    when pressing save changes on this page ‘Screen Shot 2016-11-02 at 15.40.24’ this is when the error appears.

    thanks
    becca

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Becca,

    Thanks for the screenshots, strange thing is that it’s the same thing I’m doing during testing and I can’t replicate this issue.

    Could you try reinstalling the plugin, sometimes there could be glitch during the download or plugin installation that causes some missing files and cause such issues?

    Let us know how it goes.

    Cheers,
    Predrag

    Thread Starter rebeccareincke

    (@rebeccareincke)

    Ok no problem. I will try that and let you know if we are still experiencing the problems.
    Thanks
    Becca

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

The topic ‘Membership 2 – error editing users’ is closed to new replies.