error headers
-
When I tested my contact form I got this error, although it was working just fine before. The initial email sends, and then this error occurs instead of the “Thank you for contacting us” screen.
Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-content/plugins/seamless-schema/seamless-schema.php:126) in /home/mysite/public_html/wp-includes/pluggable.php on line 1196
Line 126 of seamless-schema.php is:
@ob_end_flush();
/**
* End output buffering during header
*/
function seamless_schema_buffer_end()
{
@ob_end_flush();
}
add_action(‘wp_head’, ‘seamless_schema_buffer_end’);Line 1196 of pluggable.php is:
header(“Location: $location”, true, $status);
How do I fix this? I think the problem may be the lack of a ob_get_content command (??) The plugin author does not seem to be available.
- The topic ‘error headers’ is closed to new replies.