Error during new account creation

5 replies [Last post]
WebdevAna
Offline
Joined: 05/01/2011
Status: 
Answered

I've installed Drupal 7 locally via MAMP PRO so not sure if my problem is due to that but now that I've installed "Memebership Suite", when a new user creates his/her new account an error message appears such as:

* Notice: Undefined offset: 0 in ms_membership_get_role_name() (line 1765 of /Users/anasantos/Documents/Sites/drupal7/sites/all/modules/ms_membership/ms_membership.module).
* Notice: Undefined offset: 0 in ms_membership_get_role_name() (line 1765 of /Users/anasantos/Documents/Sites/drupal7/sites/all/modules/ms_membership/ms_membership.module).
* Notice: Undefined offset: 0 in ms_membership_get_role_name() (line 1765 of /Users/anasantos/Documents/Sites/drupal7/sites/all/modules/ms_membership/ms_membership.module).

Any idea as to why this is happening?

Leighton Whiting
Offline
Joined: 06/02/2009
Is that when users are

Is that when users are creating an account with a free membership plan?

Sincerely,
Leighton Whiting

WebdevAna
Offline
Joined: 05/01/2011
Yes, it is a free membership

Yes, it is a free membership (12 months). I did apply a fee of zero dollars which allows members to bypass the PayPal payment process.

Leighton Whiting
Offline
Joined: 06/02/2009
Can you try saving the

Can you try saving the Membership Plan again? The only thing I could think of that would be causing this error is if the following happened:

1) You created a new Role A

2) You set the Role A to be granted or removed in the Membership Plan settings

3) You subsequently deleted Role A

So the error would be that the Membership Plan thinks that you want to add Role A, which actually doesn't exist.

Re-saving the Membership Plan should fix it. Let me know if that was the case.

Sincerely,
Leighton Whiting

WebdevAna
Offline
Joined: 05/01/2011
I resaved the plan and still

I resaved the plan and still continue to have this problem. I also don't receive an email as the user registering registering for the membership. So I went back and applied a $1.00 fee and submitted with my Paypal sandbox account and now I get this error:

Error: There was a problem processing the payment: cURL Error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Any idea what my problem(s) may be? I'm wondering if it can have something to do with me using a local MAMP setup rather than a live server. Please help.

Leighton Whiting
Offline
Joined: 06/02/2009
Ana, The last error sounds

Ana,

The last error sounds like you haven't configured the SSL certificate correctly, so that may be related to the server.

Can you check to make sure that you are using the latest versions of MS Core and Membership Suite?

I can't figure out why that error would be showing except for the reasons I listed above...

Maybe try installing it on a live or public server and see if you can duplicate the errors. If not, then it is probably just related to your setup...

Sincerely,
Leighton Whiting

Twitter Feed