Support » Fixing WordPress » Fatal Error after installing WordPress 3.2

  • Resolved JohnGrey



    I just installed WordPress 3.2. If I try to edit a post or page the following hapens : Edit page opens up , I can see the the title and the permalink, the content box however stays empty (shows no content). I checked the live page and all the content is showing there.

    I get the following error message at the bottom of the page: (I inserted the cat and site name to keep them private)

    Fatal error: Call to undefined function json_encode() in /var/home/mycategory/mysitename/www/wp-admin/includes/class-wp-list-table.php on line 905

    Here is excerpt of code – the “printf” function is line 905 :

    * Send required variables to JavaScript land
    * @access private
    function _js_vars() {
    $args = array(
    ‘class’ => get_class( $this ),
    ‘screen’ => get_current_screen()

    printf( “<script type=’text/javascript’>list_args = %s;</script>\n”, json_encode( $args ) );

    I have tried disabling all plugins, reverting to the standard theme, and re-copying the wp-admin folder to my hosting server, but still no luck.

    I would appreciate any help,



Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator keesiemeijer




    Thanks, followed those steps as set out in the troubleshooting. Still didn’t work, so I contacted my Host. Problem seemed to have been json support on the hosting side. They updated the server and everything is running smoothly now.

    I just installed WordPress 3.2 and I got this same error, however it’s only showing up on Home page of the Dashboard in the Admin area. The error is being listed at the bottom of the sidebar where all the links to the different areas in the Admin site. What it’s caused on that page is that all the things like the dropdown for the user (where it says “Howdy, User Name”) don’t work and the section tabs in the sidebar don’t work. Links are just fine, but if there’s an expandable section over there, those won’t expand.

    There aren’t any problems on any of the other Admin pages. Just the Dashboard Home page.

    Is anyone out there having this problem and has anyone figured out how to fix it? Any help would be greatly appreciated.



    Having the same issue as tekitsune except that I get it when clicking publish on a post too. Though the post is published.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error after installing WordPress 3.2’ is closed to new replies.