Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot modify header information - headers already sent #438

Closed
jooola opened this issue Jan 28, 2023 · 1 comment
Closed

Cannot modify header information - headers already sent #438

jooola opened this issue Jan 28, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jooola
Copy link

jooola commented Jan 28, 2023

Describe the bug

I am having some warning/deprecation messages in the admin interface:

Deprecated: Required parameter $prelaunch follows optional parameter $dismissable in /var/www/html/web/app/plugins/radio-station/radio-station-admin.php on line 1269
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/web/app/plugins/radio-station/radio-station-admin.php:1269) in /var/www/html/web/-/wp-admin/includes/misc.php on line 1416
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/web/app/plugins/radio-station/radio-station-admin.php:1269) in /var/www/html/web/-/wp-includes/functions.php on line 6865
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/web/app/plugins/radio-station/radio-station-admin.php:1269) in /var/www/html/web/-/wp-admin/admin-header.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/web/app/plugins/radio-station/radio-station-admin.php:1269) in /var/www/html/web/-/wp-includes/option.php on line 1138
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/web/app/plugins/radio-station/radio-station-admin.php:1269) in /var/www/html/web/-/wp-includes/option.php on line 1139

Additional context

Wordpress 6.1.*
PHP 8.0 with apache (running inside docker)
Using the roots/bedrocks wordpress layout https://roots.io/bedrock/

@jooola jooola changed the title Cannot modify header information - headers already sent by Cannot modify header information - headers already sent Jan 28, 2023
@tonyzeoli tonyzeoli added the bug Something isn't working label Jan 28, 2023
@majick777
Copy link

@jooola For deprecation notices to be showing up you must have both WP_DEBUG and WP_DEBUG_DISPLAY turned on. The "headers already sent" notices are because the debug output from the deprecated notice is being output to the page. You can safely turn one of the debug switches off and ignore this issue.

Closing as this issue itself has already been fixed in the development version, so you can install that if you prefer: https://radiostation.pro/docs/faq/#how-do-i-install-the-latest-development-version-for-testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants