Support » Fixing WordPress » Error in formatting.php

  • I just switched from Blogger to WP this past weekend and I’m getting this error message at the bottom of some posts (both new posts and older ones I edit). I need to delete the post to be able to display the blog again.

    I tried changing themes but the error is still there.

    Catchable fatal error: Object of class stdClass could not be converted to string in /home/buthman/public_html/blog/wp-includes/formatting.php on line 1229

    These are lines 1228-1230:

    function stripslashes_deep($value) {
    $value = is_array($value) ? array_map(‘stripslashes_deep’, $value) : stripslashes($value);
    return $value;

    Ruuning 2.9.2

    Thanks in advance!

  • The topic ‘Error in formatting.php’ is closed to new replies.