WordPress 2.9: errors in class-json.php, lines 115 and 238?

Computer says no.
Image by Niklas via Flickr

If you’re wondering why your spanking new WordPress 2.9 upgrade/install brings you the following line everywhere:

Fatal error: Cannot redeclare class services_json in /wp-includes/class-json.php on line 115

…it’s because Alex King‘s otherwise sweet plugin Twitter Tools generates it. Deactivate the plugin and you’re OK. It didn’t actually do anything bad for me except mess with my sidebar plus adding the above line in every single page in the admin interface.

I’m sure Monsignieur King will fix this quite soon.

Then, another bit gave me the following error message, popping up to and fro, both in my blog and in the admin interface:

Warning: Cannot modify header information - headers already sent in /wp-includes/class-json.php on line 238

This one was because of the Intense Debate plugin, which I found thanks to vermontjohn and alism in the WordPress forums. I’m using the most current version (2.5) and still the problem pops up. I’ve sent the developers a complete error description and will be awaiting a reply.

update 1, 2009-12-30, 20:47:
I’ve received an e-mail from one of the developers of Intense Debate:

Hi Niklas,

Thanks for getting in contact. We’re taking a look and will have some news shortly.

Thanks,
Michael

Tags: , ,
Translate to:

4 Responses to “WordPress 2.9: errors in class-json.php, lines 115 and 238?”

  1. Niklas' blog » Blog Archive » WordPress 2.9: errors in class-json … | Coder Online Says:

    […] See the article here: Niklas' blog » Blog Archive » WordPress 2.9: errors in class-json … […]

  2. MisterPayne Says:

    i am having the same intense debate problem

  3. pivic Says:

    I do believe you can get through this by upgrading WP to 2.9.1. Tried that?

  4. Jean Says:

    Same problem using WP 2.9.2
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/web4/html/aktuell/wordpress/wp-admin/includes/media.php:301) in /var/www/web4/html/aktuell/wordpress/wp-includes/class-json.php on line 238
    Deactivated twitter plugin but this didnt solve the problem 🙁

Leave a Reply