WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help, I Can't Log in to my Blog (4 posts)

  1. JimmyW
    Member
    Posted 2 years ago #

    I think that I screwed up! I edited my finctions.php to add a custom avatar. Now, when I try to log in to my blog, the following appears at the top of the page, when I try to log on:

    // Add a default avatar to Settings > Discussion if ( !function_exists('fb_addgravatar') ) { function fb_addgravatar( $avatar_defaults ) { $myavatar = get_bloginfo('template_directory') . '/images/avatar.jpg'; $avatar_defaults[$myavatar] = 'Doc4'; return $avatar_defaults; } add_filter( 'avatar_defaults', 'fb_addgravatar' ); } ?>
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/32/9452432/html/wp-content/themes/zeestyle/functions.php:138) in /home/content/32/9452432/html/wp-login.php on line 362

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/32/9452432/html/wp-content/themes/zeestyle/functions.php:138) in /home/content/32/9452432/html/wp-login.php on line 374

    Is there way to get in and remove the problem code that I added!

  2. Andrew
    Forum Moderator
    Posted 2 years ago #

    Make sure there are no extra blank lines at the end of your functions.php file.

  3. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

  4. JimmyW
    Member
    Posted 2 years ago #

    Thanks! Got it fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.