Verification: a143cc29221c9be0

Php check header already sent

Locating the error

We can troubleshoot this issue by looking at the file which the error message is pointing to. Looking at the above sample error, we can see that it points to wp-config.php. 

This error usually happens in wp-config.php or functions.php, because both files are most frequently edited by users. If you happen to be editing a theme file other than functions.php, then it's highly possible that the error is from the file that you have just edited. 

Therefore, it's always good practice to keep a list of files that you have worked on. In programming, we call this file a changelog.

Troubleshooting

You will need to use your FTP program to edit the file on your server.

  1. Use your FTP program to login to your web server.
  2. Navigate to your file, in the example, it's the wp-config.php.
  3. Open up wp-config.php file.
  4. Look for
  5. The
  6. Look for any ?> sign at the end of the file, it there is any, you will need to remove any empty space after it.
  7. If you cannot find any ?> sign at the end of the file, you will not need to do anything. Just to play safe, you can remove empty lines.
  8. If your error points to functions.php, you can carry out the same procedure.

Error caused by plugin

If you are unable to locate the error, and unable to fix it. There is a high chance that it's coming from a plugin. You can disable all plugins to see if it fixes your issue. If indeed it's cause by a plugin, you can start finding it by enabling one plugin at a time, and re-loading your website. 

After you have found the plugin that's causing this issue, you will need to disable it and report this issue to the plugin developer.