• philgons

    (@philgons)


    I just updated to 2.7b3 from 2.7b2.

    Now my sidebar loads only partially. I get this message in my sidebar and on the widgets page in the admin panel:

    Catchable fatal error: Object of class stdClass could not be converted to string in /home/philgons/public_html/wp-includes/wp-db.php on line 429

    I tried switching themes, deactivating plugins, reinstalling, repairing my database. Nothing fixes it. I’d try removing widgets, but there is no button to save changes to the widgets.

    I updated several other blogs to 2.7b3 with no problems.

    Any ideas? Anyone else having problems?

Viewing 2 replies - 16 through 17 (of 17 total)
  • This simple fix worked for me:

    pdreissen
    Member
    Posted 6 months ago #
    Fix this by ommitting the addslashes function:

    Change the
    return addslashes( $string );

    into:

    return $string;

    Update:

    I have posted this problem in several places on the support forum and I am not trying to monopolize the podium here. I just wanted to state to anyone that comes along after me that encounters this same problem, this simple fix worked until I tried to make a new post. Now I cannot post any new posts or pages to my blog and the fix broke my blog!

    Be very careful with this. It may not work for you. It might make your problems worse as it did mine.

    I honestly wish that there was someone that knew PHP that could give me some idea of what might be wrong here. What exactly is that error code trying to tell me?

    To document this a bit better, here is what is happening with my blog now:

    I can write and edit in my fckeditor text box in visual or html mode, but when I hit update or publish, my information is stripped out of the box and disappears completely. It will take very short posts. I have no idea what is going on. It will take and publish a post that consists of the word test or maybe three paragraphs, but that is all.

    John

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Catchable fatal error in wp-db.php on line 429’ is closed to new replies.