• I cannot find an answer on this. I have already tried searching for blank space in code. In doing different things on WP, like submitting a new page, this error code shows: Warning: Cannot modify header information – headers already sent by Warning: Cannot modify header information – headers already sent by (output started at /home2/****/public_html/wp-content/themes/profession/admin/includes/class-options-framework-admin.php:2) in /home2/****/public_html/wp-admin/post.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /home2/****/public_html/wp-content/themes/profession/admin/includes/class-options-framework-admin.php:2) in /home2/****/public_html/wp-includes/pluggable.php on line 1178

    In addition, I cannot add new themes. This comes up: An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums.
    Please help!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Did you try to add in the begining of the php file ob_star(); and at the end of the of the php fie ob_end_flush();

    This problem generally occurs because blank spaces.

    Open php file with note pad add this codes and on the menu ‘coding’ choose utf-8

    Thread Starter dan11749

    (@dan11749)

    That did not work. Same error but with “ob_star()” running across my wordpress screen

    Please open your config.php with notepad++ . On the menu ‘coding’ choose utf-8 (without BOM) and save it. Tell me what happens.

    By the way when you doing this please select all codes (ctrl+a) and choose utf-8 (without BOM) on coding menu

    Thread Starter dan11749

    (@dan11749)

    wp-config.php? I opened and saved it and nothing happened

    Did you check wheather there is blank space before and after <?php … ?> codes. If there is blank space in wp-config.php please remove them.

    and check your index.php and do same thing as well. Open and select all codes by typing (ctrl+a) and choose utf-8 without bom on coding menu with notepad++
    Also check if there is a blank space there or not.

    The problem appears to be an error with the /profession theme.

    https://codex.www.ads-software.com/Answers-Troubleshooting#Headers_already_sent

    Use an ftp client (if you can’t navigate to themes in the dashboard) to rename it and let WordPress fall back to the default theme. Then check to see if your “header already sent” error is gone. If so, you can then move on to the next issue at hand.

    Thread Starter dan11749

    (@dan11749)

    THANK YOU! I am so happy; it worked. Thank you for your help, Deterjan, but I had no luck your suggestions. ClaytonJames, you were exactly right.

    I went into my FTP and deleted the Profession theme file completely (public_html/wp-content/profession). Both the header issue and the theme add issue have been solved. Again, thank you both.

    You’re welcome! Glad it worked.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Warning: Cannot modify header information – headers already sent by’ is closed to new replies.