PHP_Incomplete_Class - Error
Posted: August 29th, 2010, 6:24 am
Hi,
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
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