﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
11537,Warning: Cannot modify header information… in class-json.php,zigazou,Viper007Bond,"I installed the Mappress plugin and Wordpress 2.9 started showing these messages :

When displaying a page/article :
Warning: Cannot modify header information - headers already sent by (output started at /home/expote/public_html/wp-content/themes/atahualpa/header.php:2) in /home/expote/public_html/wp-includes/class-json.php on line 238

When editing a page/article :
Warning: Cannot modify header information - headers already sent by (output started at /home/expote/public_html/wp-admin/admin-header.php:18) in /home/expote/public_html/wp-includes/class-json.php on line 238

This bug occurs when :

- the PHP version does not have the json_encode function (I've got a PHP 4.4.9 version)

- a plugin tries to use the json_encode function

After looking at class-json.php, it seems odd to me that the encode method of the Services_JSON class outputs HTTP headers since it is used to emulate the json_encode of PHP 5 which does not send headers.",defect (bug),closed,normal,2.9.1,Warnings/Notices,2.9,normal,fixed,,westi
