Support » Fixing WordPress » Help, I Can't Log in to my Blog

  • Resolved JimmyW

    (@jimmyw)


    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!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help, I Can't Log in to my Blog’ is closed to new replies.