can't log into wordpress!

  • astrid+
  • Novice
  • Novice
  • astrid+
  • Posts: 17

Post 3+ Months Ago

1.

Hello all,

I recently switched the theme with which I was working from default to classic. I edited some of the php/css in the template, and I kept getting funny messages when I did it. Now, all of a sudden, every time I try to log in, it gives me messages not unlike the ones that I kept receiving:

    Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-login.php on line 287

    Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-login.php on line 299

    Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 662

    Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 663

    Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 664

    Warning: Cannot modify header information - headers already sent by (output started at /home/astridca/public_html/wp-content/themes/classic/functions.php:19) in /home/astridca/public_html/wp-includes/pluggable.php on line 865


I cannot access the blog to make changes. I tried going into my CPanel, into the functions.php file, but I still did not understand what is causing the issue at hand.

Does anybody have an idea as to what the problem might be? Please help!
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Yes, pluggable.php is most likely a require file that's getting called in the flow after a point where functions.php has already been called, and both files are trying to modify headers. I frequently see two files both trying to change the header 'location' when I get this error, so you can look into both files (your error provides the lines) and report back what you find if you'd like. If you need help with the PHP, then you can paste the two file contents (JUST the 10-15 line section surrounding the mentioned lines, or alternatively you can use pastebin) and we can have a look with you.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 119 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.