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™

Upgrade to Version 3.5 of Plugin

s2Member Plugin. A Membership plugin for WordPress®.

Upgrade to Version 3.5 of Plugin

Postby bitworks » February 26th, 2011, 12:11 pm

After updating to version 3.5 this morning I have an unworkable site. Getting 1000's of these errors repeated over and over again in error log:

[Sat Feb 26 11:03:24 2011] [error] [client ] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/mysite/httpdocs/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 50
[Sat Feb 26 11:03:24 2011] [error] [client ] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /var/www/vhosts/mysite/httpdocs/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 30
[Sat Feb 26 11:03:24 2011] [error] [client ] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/mysite/httpdocs/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 36

Wordpress 3.1
httpd-2.2.3-43.el5.centos.3
PHP 5.2.17 (cli) (built: Jan 7 2011 08:49:48)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

Can't login as anyone, only solution to get in is to update db and remove active plugins then reactivate. Installed s2Member via the automatic update initially and then tried a manual ftp update as well. Once plugin is activated it screws up the admin interface pretty bad.
User avatar
bitworks
Registered User
Registered User
 
Posts: 1
Joined: February 26, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby meffoos » February 26th, 2011, 12:37 pm

I had an error similar to that one before the update. I installed the update a few minutes ago and it corrected everything. Thanks to the team for fixing the invalid arguement. There must be some configuration that didn't want to integrate with your version. I just wanted to let people know that for the most part, that updated version should fix the problem we have been having since Wordpress update came out.

meffoos
www.freephotoshopprojects.com
User avatar
meffoos
Registered User
Registered User
 
Posts: 2
Joined: February 23, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby johnnysilvers » February 26th, 2011, 12:44 pm

I too have had errors sine the 3.5 (had to upgrade to fix the incompatibility with WP3.1)

Now the basic protection is not working. Users are being redirected back to Membership Options page when they should have access to the respective paid levels.

Anyone else seeing this issue?
User avatar
johnnysilvers
Registered User
Registered User
 
Posts: 5
Joined: February 25, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby oliverbc » February 26th, 2011, 2:10 pm

I also upgraded because of problems encountered with WP 3.1 and the s2member upgrade has caused me to be unable to access the WP Admin dashboard or any of its functions on the back-end. I get this error message in the WP Admin screen:

Fatal error: Call to undefined function ws_plugin__s2member_trim_deep() in /home6/schoolbr/public_html/wp-content/plugins/s2member-pro/includes/functions/separates/upgrade.inc.php on line 41

No one can subscribe, of course, either.

Posted this several hours ago and emailed support but have yet to hear anything. If anyone on this forum has a suggestion, I would love to hear it. Thanks for your help.
User avatar
oliverbc
Registered User
Registered User
 
Posts: 4
Joined: February 26, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby DougJoseph » February 26th, 2011, 2:29 pm

Oliverbc:

Your error message and mine are the same, and it appears to be rooted in the Pro add-on. (Notice the plugin path to the page with the error.)

In my case, since I don't yet need the Pro add-on, I am going to try to remove the add-on temporarily and see if the error stops showing.
DougJoseph
Guest User
Guest User
 

Re: Upgrade to Version 3.5 of Plugin

Postby oliverbc » February 26th, 2011, 3:00 pm

DougJoseph:

Unfortunately, I use the pro piece for all our subscriptions so I can't try that, but that will be interesting to see if the pro add-on is causing the problem. Keep us posted. Thanks.
User avatar
oliverbc
Registered User
Registered User
 
Posts: 4
Joined: February 26, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby DougJoseph » February 26th, 2011, 3:42 pm

oliverbc wrote:DougJoseph:

Unfortunately, I use the pro piece for all our subscriptions so I can't try that, but that will be interesting to see if the pro add-on is causing the problem. Keep us posted. Thanks.


oliverbc:
There is a newly updated version of the Pro add-on too! We not only had to update s2Member to 3.5, but we also had to update the Pro add-on to the newest, latest version too. See https://www.s2member.com/account/ This is allowing us to work just fine, while Pro is enabled!
DougJoseph
Guest User
Guest User
 

Re: Upgrade to Version 3.5 of Plugin

Postby oliverbc » February 26th, 2011, 4:08 pm

Thanks for the tip. I will try that.

How did you do the upgrade though? The fatal error that the s2member update caused is locking me out of the Admin panel. Thanks.
User avatar
oliverbc
Registered User
Registered User
 
Posts: 4
Joined: February 26, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby itsalaska » February 26th, 2011, 4:31 pm

upgrade using FTP.
Go to the folder and copy the upgrade files in
User avatar
itsalaska
Registered User
Registered User
 
Posts: 5
Joined: February 25, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby itsalaska » February 26th, 2011, 4:35 pm

ok, for the record, this issue is NOT just pro
I am using the basic version and read the forums to see if it was safe to upgrade.
this is what i got

Warning: Invalid argument supplied for foreach() in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 50

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 30

Warning: Invalid argument supplied for foreach() in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 36

Warning: Invalid argument supplied for foreach() in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 50

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 30

Warning: Invalid argument supplied for foreach() in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 36

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'c_ws_plugin__s2member_translations::translation_mangler' was given in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-includes/plugin.php on line 166

Over and Over and Over and Over again
User avatar
itsalaska
Registered User
Registered User
 
Posts: 5
Joined: February 25, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby Cristián Lávaque » February 26th, 2011, 4:47 pm

I imagine Jason will publish fixes to any issues that arose from the latest release really soon. After all, the plugin went through a major rewrite (just look at the changelog), it's understandable that some things have gone unnoticed.

http://www.primothemes.com/readme/3679/#rm-changelog

Usually big changes go through a beta stage to hammer out any bugs before it's made fully available. Because of what happened with WP's latest major release, Jason must have been pressed to finish in a rush the major rewrite he was working on and didn't have a chance to test it fully.

This doesn't help you while your website is not working, but now at least we know he's working on the plugin even if he doesn't reply to emails or posts. Again, he probably decided to dedicate every minute he'd spend in communication, coding.
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: Upgrade to Version 3.5 of Plugin

Postby moosechic » February 26th, 2011, 4:57 pm

Where can i download the previous version???? the 3.5 jacked up our admin back end so it is unusable... so we need to go back one level. we are using pro version. please advise.
User avatar
moosechic
Registered User
Registered User
 
Posts: 7
Joined: January 19, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby Cristián Lávaque » February 26th, 2011, 5:17 pm

moosechic wrote:Where can i download the previous version????


https://wordpress.org/extend/plugins/s2member/download/

Not sure where to get older versions of the Pro part, though.
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: Upgrade to Version 3.5 of Plugin

Postby Cristián Lávaque » February 26th, 2011, 7:40 pm

itsalaska wrote:ok, for the record, this issue is NOT just pro
I am using the basic version and read the forums to see if it was safe to upgrade.
this is what i got...


What page were you trying to load when you got those errors? Just curious.
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: Upgrade to Version 3.5 of Plugin

Postby Jason Caldwell » February 26th, 2011, 8:50 pm

Thanks to everyone for reporting these important issues.
Warning: Invalid argument supplied for foreach() in /nfs/c07/h04/mnt/112931/domains/thinkgoldcoast.com.au/html/wp-content/plugins/s2member/includes/functions/class-autoloader.inc.php on line 50

This has been corrected with the release of:
s2Member v3.5.1 and s2Member Pro v1.5.1.


Fatal error: Call to undefined function ws_plugin__s2member_trim_deep() in /home6/schoolbr/public_html/wp-content/plugins/s2member-pro/includes/functions/separates/upgrade.inc.php on line 41

This has also been corrected with the release of:
s2Member v3.5.1 and s2Member Pro v1.5.1.




  • (s2Member/s2Member Pro). Bug fix. Errors regarding `class-autoloader.inc.php / glob()`, which were associated with installation servers running NFS ( network file systems ) have been corrected in this release.
  • (s2Member/s2Member Pro). Bug fix. Errors regarding `ws_plugin__s2member_trim_deep()` during an upgrade from previous versions of s2Member have been corrected in this release.
  • Full changelog for v3.5.x: http://www.primothemes.com/readme/3679/#rm-changelog

s2Member version 3.5.1 and Pro v1.5.1 are available now on our web site; and updates are going out through WordPress.org as well. If you want a jump start, you can grab the latest copy here: http://www.primothemes.com/post/product ... th-paypal/
http://www.s2member.com/
~ 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: Upgrade to Version 3.5 of Plugin

Postby Cristián Lávaque » February 26th, 2011, 10:23 pm

Thank you Jason! :D
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: Upgrade to Version 3.5 of Plugin

Postby DougJoseph » February 27th, 2011, 1:55 am

Dear Jason Caldwell:

Kudos on a great job. Thanks for the great plugin.

My only suggestion (regarding support) would be to implement an auto-reply wizard so a reply can go out that confirms email inquiries have been received and offering an explanation on the lack of a personal reply. I admire your skill and knowledge and I am thankful to have the plugin and the Pro add-on.
DougJoseph
Guest User
Guest User
 

Re: Upgrade to Version 3.5 of Plugin

Postby DougJoseph » February 27th, 2011, 1:59 am

oliverbc wrote:Thanks for the tip. I will try that.

How did you do the upgrade though? The fatal error that the s2member update caused is locking me out of the Admin panel. Thanks.


As already mentioned by itsalaska, the update can be done via FTP. Please note that the prior folder containing Pro (which is located in your plugins folder) should be removed or deleted, and then the newer folder containing the updated Pro version should be uploaded to the server in its place.
DougJoseph
Guest User
Guest User
 

Re: Upgrade to Version 3.5 of Plugin

Postby GregKeen » February 27th, 2011, 3:49 pm

For me it's still buggy but not with "autoloader" error, but with the "s2member_translations" error:


Warning: call_user_func_array() [function.call-user-func-array]: Unable to call c_ws_plugin__s2member_translations::translation_mangler() in /data/www/gtf_wp/wp-includes/plugin.php on line 166

Warning: call_user_func_array() [function.call-user-func-array]: Unable to call c_ws_plugin__s2member_translations::translation_mangler() in /data/www/gtf_wp/wp-includes/plugin.php on line 166

Warning: call_user_func_array() [function.call-user-func-array]: Unable to call c_ws_plugin__s2member_translations::translation_mangler() in /data/www/gtf_wp/wp-includes/plugin.php on line 166

Warning: call_user_func_array() [function.call-user-func-array]: Unable to call c_ws_plugin__s2member_translations::translation_mangler() in /data/www/gtf_wp/wp-includes/plugin.php on line 166

Warning: call_user_func_array() [function.call-user-func-array]: Unable to call c_ws_plugin__s2member_translations::translation_mangler() in /data/www/gtf_wp/wp-includes/plugin.php on line 166

...

This is repeated a lot... I get this error on every page both backend and frontend, it prevents me from using any function. :(
User avatar
GregKeen
Registered User
Registered User
 
Posts: 9
Joined: January 18, 2011

Re: Upgrade to Version 3.5 of Plugin

Postby Jason Caldwell » March 6th, 2011, 12:01 pm

Thanks for reporting this important issue.
GregKeen wrote:Warning: call_user_func_array() [function.call-user-func-array]: Unable to call c_ws_plugin__s2member_translations::translation_mangler() in /data/www/gtf_wp/wp-includes/plugin.php on line 166

Hmmm. This looks to me like a file is corrupted and/or missing from your s2Member installation. Try updating both s2Member and s2Member Pro again manually via FTP.

Delete: /wp-content/plugins/s2member/
Delete: /wp-content/plugins/s2member-pro/


Then upload s2Member v3.5.2+ and s2Member Pro v1.5.2+.

* If this problem persists after updating manually, please report back to me via email with a Dashboard login and FTP access so we can see exactly what's happening on your installation.
~ 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


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 9 guests

cron