Support » Fixing WordPress » PHP Header Warning, Can't Access Dashboard

  • Hi there,

    I do not have access to the webhost from which my client’s blog is run. I installed Google Analytics code into the Footer.PHP code last night. It worked fine. This morning, I tried to login to add a new blog post and I began receiving warning errors like the one below:

    Warning: Cannot modify header information – headers already sent by (output started at /home1/nextaffi/public_html/blogtorontoemploymentlawyer/wp-content/themes/republica/functions.php:312) in /home1/nextaffi/public_html/blogtorontoemploymentlawyer/wp-login.php on line 302

    Because I do not have the hosting information, I cannot access the dashboard to fix the problem. What should I do!? I have already cleared the cache and tried on a different browser.


Viewing 1 replies (of 1 total)
  • Moderator James Huff


    Volunteer Moderator 🚀

    You have unexpected whitespace (either a space or an entire line) on line 312 of the /wp-content/themes/republica/functions.php file. See this guide for more info.

    Alternatively, replacing the file with one from a fresh download may resolve the issue.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Header Warning, Can't Access Dashboard’ is closed to new replies.