Saturday 16 December 2017

Wordpress Error PHP Header Error

Hey guys this is my issue





Header
information - headers already sent by (output started at
/home/User/public_html/wp-content/themes/axxum/inc/elements/cms_carousel.php:301) in
/home/User/public_html/wp-admin/includes/misc.php on line
1114




function
wp_admin_headers() {
$policy = 'same-origin';


/**
* Filters the admin referrer policy header value. Default
'same-origin'.
*
* @since 4.9.0

* @link
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy

*
* @param string $policy The referrer policy header value.

*/
$policy = apply_filters( 'admin_referrer_policy', $policy
);

header( sprintf( 'Referrer-Policy: %s', $policy )
);
}

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...