Since the update 27.5 -> Warning: Cannot modify header information - headers already sent

Since the update to 27.5 I have an unpleasant error:

Warning: Cannot modify header information - headers already sent by (output started at .../wp-content/themes/betheme/header.php:9) in .../wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code on line 31


I use snippets for my own PHP code. In this line I want to set a cookie with setcookie('my_cookie', $hash, time()+MONTH_IN_SECONDS, '/');


I urgently need help, we have many users, it is almost impossible to import a backup without losing data...


Many thanks

Christian

Comments

Sign In or Register to comment.