Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#45724 new defect (bug)

Getting Warning: Cannot modify header information ..\wp-includes\pluggable.php on line 1223

Reported by: abahalkar's profile abahalkar Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.2
Component: Upgrade/Install Keywords: needs-testing reporter-feedback
Focuses: Cc:


Hello Team,

I have upgraded my WordPress from 4.8 to 5.0. while updating I am getting the warning

"Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64\www\valud\current\speed_improve\wp-includes\script-loader.php:2338) in C:\wamp64\www\valud\current\speed_improve\wp-includes\pluggable.php on line 1223"

I tried and reinstalled WordPress multiple times but even thought maybe some bug will fix in upcoming version but still getting the issue in 5.0.2

please find attachment for more reference.


Attachments (1)

Ugrade (141.0 KB) - added by abahalkar 5 years ago.

Download all attachments as: .zip

Change History (5)

#1 follow-up: @faisal03
5 years ago

Please try adding the following line in wp-config.php file

define(‘WP_DEBUG’, false);

#2 in reply to: ↑ 1 @abahalkar
5 years ago

Replying to faisal03:

Please try adding the following line in wp-config.php file

define(‘WP_DEBUG’, false);

Hi Faisal,

Thanks for replying. I know by this, I can hide warning and errors but this is my development setup. My purpose to submit a ticket is if any bug is in the new version that can be identified and should be fixed.

Thanks once again.

#3 @mukesh27
5 years ago

  • Keywords reporter-feedback added

Hi @abahalkar, welcome to WordPres Trac! Thanks for the report.

Does the issue still happen with all plugins disabled and a default theme (Twenty Nineteen) activated?

Could you provide the steps to reproduce the issue on a clean install?

#4 @SergeyBiryukov
5 years ago

It looks like some plugin or theme calls print_admin_styles() too early.

Note: See TracTickets for help on using tickets.