Viewing 5 replies - 1 through 5 (of 5 total)
  • Print here content of your wp-config.php file. You may delete strings with passwords ??

    You can use “ob_start()” function in the “functions.php”.

    This is the very first line of the” functions.php”.

    There must not be any space in the “funtions.php” after closing php tag (?>), if closing php tag is in very last line and you can remove this closing tag also.

    Sunder Deep Dasna, page output:

    Warning: Cannot modify header information – headers already sent by (output started at wp-config.php:2) …

    wp-config.php included before functions.php, then adding anything in functions.php will have no effect.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Print here content of your wp-config.php file. You may delete strings with passwords ??

    That’s not necessarily a good idea. ??

    Give this article a good read and check your wp-config.php file.

    Try renaming the old file (don’t delete it!) and recreating a new one by copying wp-config-sample.php and manually editing that copy with the most plain text editor you can find. Notepad++ is good for that if you are using Windows.

    Thanks Jan, for sharing the article.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning: Cannot modify header information’ is closed to new replies.