Membership 2 – error editing users
-
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.
The topic ‘Membership 2 – error editing users’ is closed to new replies.