admin管理员组

文章数量:1130349

I am having an error like this :

Warning: Cannot modify header information - headers already sent by (output started at /home/zk2ba8xn663w/public_html/wp-includes/formatting.php:5100) in /home/zk2ba8xn663w/public_html/wp-includes/pluggable.php on line 1219

How should i approach to solve the problem as error shows the WordPress core files?

This is the line there :

if ( !$is_IIS && PHP_SAPI != 'cgi-fcgi' )
    status_header($status); // This causes problems on IIS and some FastCGI setups

header("Location: $location", true, $status);

return true;

can if i use $location in my theme can it cause any problem? please help

I am having an error like this :

Warning: Cannot modify header information - headers already sent by (output started at /home/zk2ba8xn663w/public_html/wp-includes/formatting.php:5100) in /home/zk2ba8xn663w/public_html/wp-includes/pluggable.php on line 1219

How should i approach to solve the problem as error shows the WordPress core files?

This is the line there :

if ( !$is_IIS && PHP_SAPI != 'cgi-fcgi' )
    status_header($status); // This causes problems on IIS and some FastCGI setups

header("Location: $location", true, $status);

return true;

can if i use $location in my theme can it cause any problem? please help

本文标签: httpHeader already senterror shows core files