Fatal Error after installing WordPress 3.2
-
Hi,
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,
Thanks
John
- The topic ‘Fatal Error after installing WordPress 3.2’ is closed to new replies.