Title: Error &#8211; Warning: Cannot modify header information   no FTP
Last modified: August 22, 2016

---

# Error – Warning: Cannot modify header information no FTP

 *  Resolved [jroberts2244](https://wordpress.org/support/users/jroberts2244/)
 * (@jroberts2244)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/)
 * By error I placed a Google analytics tag onto the theme of the website.
    I now
   can not log into wp-login and am getting this error:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/thi19017/public_html/wp-content/themes/html5blank-master/functions.php:
   1) in /home/thi19017/public_html/wp-login.php on line 418
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/thi19017/public_html/wp-content/themes/html5blank-master/functions.php:
   1) in /home/thi19017/public_html/wp-login.php on line 431
 * There is also not a FTP set up for this site. How can I fix this urgantly?

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472129)
 * your active theme “html5blank-master” seems to be the issue.
 * try switching to the unedited default Twenty Fourteen Theme for a moment to rule
   out any theme-specific issue. When you don’t have access to your admin area, 
   you can switch to the default theme by renaming your current theme’s folder in
   wp-content/themes and adding “-old” to the end of the folder name using via [FTP or SFTP ](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides.
 * Also review this Codex: [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 *  Thread Starter [jroberts2244](https://wordpress.org/support/users/jroberts2244/)
 * (@jroberts2244)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472148)
 * Thanks for your reply Tara. So there is no way to edit without accessing the 
   FTP or SFTP? I’m new to the company and we don’t have contact details for the
   old website manager.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472150)
 * > So there is no way to edit without accessing the FTP or SFTP?
 * – unless you have access to the dashboard. If don’t then you need to use FTP 
   or SFTP or whatever file management application your host provides.
 * – Probably you can also do it via accessing your database in mysql as well, which.
   But iam sure you need to have login credentials to get in your mysql. Also, I
   have no idea which table in mysql to tweak.
 *  [CMSHelpLive](https://wordpress.org/support/users/cmshelplivecom/)
 * (@cmshelplivecom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472178)
 * Hi,
 * just add <?php ob_start(); ?>on the top of wp-login.php page
 *  Thread Starter [jroberts2244](https://wordpress.org/support/users/jroberts2244/)
 * (@jroberts2244)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472252)
 * So we no longer have contact to our website designer. His number has been disconnected
   so i can’t contact with him to get access to the FTP/SFTP or mysql. I’m new to
   the company and he didn’t pass the information on to anyone when he left!
 * Is there anything else I can do?!
 * Thanks,
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472253)
 * Your server credentials derive from your hosting providers, have you contacted
   them?
 *  Thread Starter [jroberts2244](https://wordpress.org/support/users/jroberts2244/)
 * (@jroberts2244)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472255)
 * I have no idea who hosted the website – the website designer who set it up didn’t
   pass on any of the information… Is there a way I can find out who hosts the website?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472256)
 * Yes, put your website in this tool [https://who.is/](https://who.is/)
 *  Thread Starter [jroberts2244](https://wordpress.org/support/users/jroberts2244/)
 * (@jroberts2244)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472257)
 * Great – thanks
 *  Thread Starter [jroberts2244](https://wordpress.org/support/users/jroberts2244/)
 * (@jroberts2244)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472263)
 * I now have access to ftp. I have added <?php ob_start(); ?> to the top of the
   login page but it has not work. still seeing the same error
 *  Thread Starter [jroberts2244](https://wordpress.org/support/users/jroberts2244/)
 * (@jroberts2244)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472265)
 * Fixed now! I just had to go through and add that to the function.php file.
 * thanks!
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472266)
 * > By error I placed a Google analytics tag onto the theme
 * The error is being caused by the theme.
 * First remove this from wherever you placed it: `<?php ob_start(); ?>`
 * Option 1) remove/undo the errant code from the file you placed it in.
 * Option 2) replace the file you edited with a fresh version from your backups,
   or with a fresh version of the file from the original theme source.
 * If 1 and 2 aren’t immediately possible, then you can rename just the html5blank-
   master theme directory (something like html5blank-master.old or html5blank-master.
   bak should do) then revisit your site at `yoursite.com/wp-admin` and log in. 
   The default WordPress theme should take over and let you back, then you can focus
   on repairing the damaged theme.
 * [edit] `<?php ob_start(); ?>` is not actually a fix for the issue with the theme.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Error – Warning: Cannot modify header information no FTP’ is closed to
new replies.

## Tags

 * [cannot](https://wordpress.org/support/topic-tag/cannot/)
 * [google tag](https://wordpress.org/support/topic-tag/google-tag/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [Modify](https://wordpress.org/support/topic-tag/modify/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 5 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/error-warning-cannot-modify-header-information-no-ftp/#post-5472266)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
