Title: Custom Login Screen Errors from functions.php
Last modified: August 20, 2016

---

# Custom Login Screen Errors from functions.php

 *  [nikinicole](https://wordpress.org/support/users/nikinicole/)
 * (@nikinicole)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/custom-login-screen-errors-from-functionsphp/)
 * Hi Everyone,
 * I’m working on customizing my Login Page, and I’m having a little problem. The
   page works and looks good, but there are all these WordPress errors.
 * I’m working with [this wordpress codex page](http://codex.wordpress.org/Customizing_the_Login_Form).
   First I wanted to change the WordPress logo to my logo. I copy and pasted this
   code exactly into my functions.php: `function my_login_logo() { ?>
    <style type
   =”text/css”> body.login div#login h1 a { background-image: url(<?php echo get_bloginfo(‘
   template_directory’ ) ?>/images/site-login-logo.png); padding-bottom: 30px; }
   </style> <?php } add_action( ‘login_enqueue_scripts’, ‘my_login_logo’ );`
 * I got an error that said: “Parse error: syntax error, unexpected ‘}’ in /home/
   content/57/8071057/html/wp-content/themes/WDIFTLOM/functions.php on line 35”
 * So I removed the ‘}’ on that line, and the page came up, properly syled with 
   my logo, but a new error: “function my_login_logo() { ?>
    Warning: call_user_func_array()[
   function.call-user-func-array]: First argument is expected to be a valid callback,‘
   my_login_logo’ was given in /home/content/57/8071057/html/wp-includes/plugin.
   php on line 403″ And on every page of my site you see this up top: `function 
   my_login_logo() { ?>`
 * Any idea why this is happening? My page is at:[http://wedoitfortheloveofmusic.com/wp-login.php](http://wedoitfortheloveofmusic.com/wp-login.php)
   and here is my entire functions.php code: [http://pastie.org/4811423](http://pastie.org/4811423)

Viewing 1 replies (of 1 total)

 *  [bluesix](https://wordpress.org/support/users/bluesix/)
 * (@bluesix)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/custom-login-screen-errors-from-functionsphp/#post-3074062)
 * Hey, I notice you got this working. I’ve having the same problem. What did you
   do to solve it?

Viewing 1 replies (of 1 total)

The topic ‘Custom Login Screen Errors from functions.php’ is closed to new replies.

## Tags

 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [logo](https://wordpress.org/support/topic-tag/logo/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [bluesix](https://wordpress.org/support/users/bluesix/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/custom-login-screen-errors-from-functionsphp/#post-3074062)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
