WordPress.org

Ready to get started?Download WordPress

Forums

PHP Header Warning, Can't Access Dashboard (2 posts)

  1. naomielisemukai
    Member
    Posted 3 years ago #

    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.

    Naomi

  2. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic