0

Can't understand the reason, everything was working fine a week ago but suddenly the following Warning Messages when calling wp-admin shows a blank screen no option to enter login details and the 2 following messages.

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-includes/pluggable.php on line 896

When I try calling wp-login.php then comes the following error message

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-login.php on line 415

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-login.php on line 427

While calling url as wp-login.php there shows login screen but after entering login details it shows the following warning messages

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-login.php on line 415

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-login.php on line 427

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-includes/pluggable.php on line 678

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-includes/pluggable.php on line 679

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-includes/pluggable.php on line 680

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/wp-content/plugins/js_composer/composer/lib/composer.php:1) in /home/username/public_html/wp-includes/pluggable.php on line 896

I tried commenting all headers lines in this warnings but still no use.

Any help is appreciated.

Karthik Malla
  • 5,570
  • 12
  • 46
  • 89

1 Answers1

1

It is usually because there are spaces, new lines, or other stuff before an opening <?php tag or after a closing ?> tag, typically in wp-config.php.

This could be in any other file as well.

Check the files that you have modified. Obviously, one or more has been modified within the last week that you mentioned.

Average Joe
  • 4,521
  • 9
  • 53
  • 81