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™

Autoloader isn't autoloading

s2Member Plugin. A Membership plugin for WordPress®.

Autoloader isn't autoloading

Postby phrantick » June 16th, 2011, 6:11 am

I've just upgraded to v110606 and immediately get a problem which I think is related to the class autoloader. On every page I get the following error:

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'c_ws_plugin__s2member_files::check_file_download_access' was given in C:\inetpub\wwwroot\wp\envirolink\wp-includes\plugin.php on line 395

I think this means the class c_ws_plugin__s2member_files has not been loaded at the time the hook is called.

Has anyone else experienced this problem? Is there a fix?
User avatar
phrantick
Registered User
Registered User
 
Posts: 12
Joined: December 6, 2010

Re: Autoloader isn't autoloading

Postby Cristián Lávaque » June 16th, 2011, 11:29 am

Haven't had anyone report this problem before. I'd try re-uploading the plugin, there's probably a something wrong with one of your files. You can follow these instructions: viewtopic.php?f=36&t=247
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: Autoloader isn't autoloading

Postby phrantick » June 17th, 2011, 2:01 am

Yes! A reload did the trick. Many thanks Cristian.
User avatar
phrantick
Registered User
Registered User
 
Posts: 12
Joined: December 6, 2010

Re: Autoloader isn't autoloading

Postby Cristián Lávaque » June 17th, 2011, 4:51 pm

That's great! You're welcome. :)
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


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron