Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-18T13:49:15-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2439 2011-03-18T13:49:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2439&p=7983#p7983 <![CDATA[Re: Fatal error: Call to undefined method stdClass::has_cap(]]>
It can be fixed by modifying the plugin source. Open the file that has the error and go to the line indicated.
change each occurance of the function as follows:
Code:
$user->has_cap ("access_s2member_level0")

Code:
$user->allcaps["access_s2member_level0"]


You'll have to change it 5 times, one for each access level.

Peace,
Steve

Statistics: Posted by sfraser657 — March 18th, 2011, 1:49 pm


]]>
2011-02-21T12:02:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2439&p=6991#p6991 <![CDATA[Fatal error: Call to undefined method stdClass::has_cap()]]>
Fatal error: Call to undefined method stdClass::has_cap() in /home/****/wp-content/plugins/s2member/includes/functions/user-access-level.inc.php on line 38

Any clue as to how I can fix this error? Thanks!!

Statistics: Posted by mignonkm — February 21st, 2011, 12:02 pm


]]>