Page 1 of 1
Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 12:11 pm
by bitworks
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 12:37 pm
by meffoos
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
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 12:44 pm
by johnnysilvers
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?
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 2:10 pm
by oliverbc
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 2:29 pm
by DougJoseph
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 3:00 pm
by oliverbc
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 3:42 pm
by DougJoseph
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!
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 4:08 pm
by oliverbc
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 4:31 pm
by itsalaska
upgrade using FTP.
Go to the folder and copy the upgrade files in
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 4:35 pm
by itsalaska
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
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 4:47 pm
by Cristián Lávaque
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-changelogUsually 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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 4:57 pm
by moosechic
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 5:17 pm
by Cristián Lávaque
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 7:40 pm
by Cristián Lávaque
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 8:50 pm
by Jason Caldwell
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/
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 26th, 2011, 10:23 pm
by Cristián Lávaque
Thank you Jason!
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 27th, 2011, 1:55 am
by DougJoseph
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 27th, 2011, 1:59 am
by DougJoseph
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
February 27th, 2011, 3:49 pm
by GregKeen
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.
Re: Upgrade to Version 3.5 of Plugin
Posted:
March 6th, 2011, 12:01 pm
by Jason Caldwell
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.