PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Registration Error

s2Member Plugin. A Membership plugin for WordPress®.

Registration Error

Postby heather » June 3rd, 2011, 5:47 pm

We are using WP 3.0.5 with BuddyPress 1.2.7 and s2Member 3.5.8

Members on our site are getting this error from s2Member after login: Call to undefined function is_blog_admin() from /s2member/includes/classes/utils-conds.inc.php on line 37

- The registration process completes and the member is created, but gives the error I mentioned.

- Confirmation emails with generated passwords are not arriving. I have tried allowing passwords to be created by user, but it does not resolve.

- Users have the impression the login has failed.

Can you advise on how I can best work through this?

Thank you so much! ~h.
User avatar
heather
Registered User
Registered User
 
Posts: 6
Joined: June 3, 2011

Re: Registration Error

Postby Cristián Lávaque » June 3rd, 2011, 6:09 pm

Hello Heather.

Do you have multisite network or is it a single blog?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Registration Error

Postby heather » June 3rd, 2011, 6:14 pm

Multisite Network - closed to members
User avatar
heather
Registered User
Registered User
 
Posts: 6
Joined: June 3, 2011

Re: Registration Error

Postby Cristián Lávaque » June 3rd, 2011, 6:20 pm

Thanks.

I'll let Jason (the Lead Developer) take this one, I don't know multisite issues as he does. I sent him an email with a link to this thread. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Registration Error

Postby heather » June 3rd, 2011, 6:23 pm

Ok. Thanks for the quick response. :)
User avatar
heather
Registered User
Registered User
 
Posts: 6
Joined: June 3, 2011

Re: Registration Error

Postby Jason Caldwell » June 3rd, 2011, 10:27 pm

Thanks for reporting this important issue.

The section of code that you're referring to, is this:
Code: Select all
public static function is_blog_admin ()
    {
        if (version_compare (get_bloginfo ("version"), "3.1-RC", ">="))
            return is_blog_admin ();
        /**/
        return is_admin ();
    } 
* This routine is designed to support backward compatibility with WordPress 3.0.x. On your installation though, it sounds like your version of WordPress is reporting itself incorrectly. The function call "is_blog_admin()" should not be fired unless you have WordPress 3.1-RC or higher installed.

Two possible solutions for you.
1. Verify that your installation of WordPress is correctly reporting its version at 3.0.5.
2. Or, upgrade to the latest version of WordPress, where the "is_blog_admin()" function is available.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Registration Error

Postby heather » June 3rd, 2011, 11:05 pm

Thank you so much for your response. I will look into compatibility with our current plugins for the inevitable upgrade. If possible, this seems to be the most practical long term solution.

Wonderful support! Thanks again. :)
User avatar
heather
Registered User
Registered User
 
Posts: 6
Joined: June 3, 2011

Re: Registration Error

Postby heather » June 6th, 2011, 8:06 pm

After our discussion, I have updated to WP 3.1.3, BP 1.2.8 and s2Member Version 110605. Everything seems to be working properly, but I am unable to check our previous error or reach the s2Member registration form.

- All registration links push to /registration, which is the BP registration form.
- Also, the only s2Member options available on the dashboard are Multisite (config) and s2Member Info.

Any ideas on what could be causing this?
User avatar
heather
Registered User
Registered User
 
Posts: 6
Joined: June 3, 2011

Re: Registration Error

Postby Jason Caldwell » June 6th, 2011, 9:02 pm

- All registration links push to /registration, which is the BP registration form.

Yes, this is the correct behavior. BuddyPress redirects all registration requests to /register/. If you don't like that, you could deactivate BuddyPress I suppose. Also, starting with s2Member v110605+, it is now possible to integrate s2Member's Custom Registration Fields into the BuddyPress registration system too, making these two software applications work together better. Please see this thread: viewtopic.php?f=4&t=6505&p=20121#p16089

Also, please note that s2Member Pro Forms are NOT subjected to this BuddyPress /register/ system. s2Member Pro Forms make it easy to build your own combination registration/checkout forms, bypassing the BuddyPress registration system all together, if you prefer.

- Also, the only s2Member options available on the dashboard are Multisite (config) and s2Member Info.
It sounds like you're in the new "Network Admin Panel".
Go up to the right hand side of your Dashbaord and choose "Site Admin".
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Registration Error

Postby heather » June 7th, 2011, 4:51 am

I see! Thank you for the clarity! I am excited to explore the new features.

Again, wonderful support and I am grateful for your help.
User avatar
heather
Registered User
Registered User
 
Posts: 6
Joined: June 3, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests

cron