Page 1 of 1

Fatal Error when updating profile

PostPosted: April 28th, 2011, 2:58 am
by sruefer
Hi,

when saving changes to the user profile page, I am getting the following error:

Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in C:\wamp\www\mysite\wp-includes\functions.php on line 1486

I am using the s2member profile page via shortcode [s2Member-Profile /]. I recently upgraded to Wordpress 3.1.2, but I did not test this prior to upgrading, so I do not know if it works ok in Wordpress 3.1.1.

Troubleshooting done so far:
- deactivated all other plugins - same problem
- deactivated and re-activated s2members - same problem
- deleted and re-installed s2members - same problem
- used alternative method to shortcode (via iframe) - same problem
- tried in other browsers (IE9, Firefox 4, Chrome 11) - same problem
- tried with different users - same problem

Any suggestions how to fix this would be much appreciated.

Best regards,
Steffen

Re: Fatal Error when updating profile

PostPosted: April 28th, 2011, 3:21 am
by sruefer
I found the issue... it appears to be a known Wordpress glitch, which happens after deactivating a plugin that wrote data into the user_meta data table. There are currently two solutions:
1) Modify WP core file wp-includes/functions.php, or
2) delete database entries of de-activated plugin in user_meta data table
Solution 2 worked ok for me (whewww!). Detailed solution can be read up here: http://webdesign.anmari.com/1895/wordpr ... -problems/
Rgs
Steffen

Re: Fatal Error when updating profile

PostPosted: April 28th, 2011, 11:50 am
by Cristián Lávaque
Thank you Steffen! I'll let Jason know about it. :)

Re: Fatal Error when updating profile

PostPosted: April 29th, 2011, 4:39 pm
by Jason Caldwell
Yes, thanks for posting this.
~ Much appreciated.