Community Support Forums — WordPress® ( Users Helping Users ) — 2010-09-07T20:11:57-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=630 2010-09-07T20:11:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=630&p=3003#p3003 <![CDATA[Re: PHP_Incomplete_Class - Error]]> ~ Much appreciated.

So it sounds like it's possible that the wp_capabilities field in the usermeta table might have become corrupted for specific Users? WordPress® stores an array of Roles/Capabilities into that key ( serialized ). So I suppose it is possible that the PHP_Incomplete_Class error is being triggered by a corrupt serialized array; where there might have been a particular plugin installed at some point that stored data directly into that field, possibly even as an object, instead of as an array.

Statistics: Posted by Jason Caldwell — September 7th, 2010, 8:11 pm


]]>
2010-09-04T08:00:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=630&p=2909#p2909 <![CDATA[Re: PHP_Incomplete_Class - Error]]> I tested it some more on new users and it only happens to the four old wp_member users, I will need to investigate more!

David

Statistics: Posted by Adeptris — September 4th, 2010, 8:00 am


]]>
2010-08-30T12:47:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=630&p=2701#p2701 <![CDATA[Re: PHP_Incomplete_Class - Error]]> I've not been able to reproduce this with BuddyPress/s2Member/Multisite.

However, I did find this article:
http://www.crainbandy.com/programming/p ... -_sessions

Do you have any plugins that require sessions?
If so, is session.auto_start on in your php.ini file. If so, try turning that off.
Given the harmless section of code that is your symptom, it sounds like a server configuration issue to me. That being said, I've never encountered this myself, so please let me know if you narrow this down. I'd love to hear about it.

Statistics: Posted by Jason Caldwell — August 30th, 2010, 12:47 pm


]]>
2010-08-29T06:24:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=630&p=2641#p2641 <![CDATA[PHP_Incomplete_Class - Error]]> I am new to s2Member, (about 3 hours) and was using wp-member before, so I will have to upgrade to pro to import the old subscriptions (only 4), as I cannot see another way.

I went through all the setups, and the login page comes up and I can login and out just fine, so that part is all good.

I am using a 'twenty ten' child theme with Buddy Press merged, which is now the WordPress prefered way.

It is setup as Multi Site but not a Multi Blog Farm (users cannot create blogs), I allowed the setup to merge the files.

In the Admin > Users I have the 4 members to update, I go to edit > role > change to 's2Member Level 2'

I get this error:
Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in D:\mywebsite.net\MyRootFolder\wp-includes\functions.php on line 1463

In fuctions.php is the following:
The Function = add_magic_quotes($array)
The line 1463 = $array[$k] = addslashes( $v );

If I change to any of the standard roles then it works without the error, so author, editor etc: are fine.


David

Statistics: Posted by Adeptris — August 29th, 2010, 6:24 am


]]>