Title: Fatal error! functions php
Last modified: August 30, 2016

---

# Fatal error! functions php

 *  Resolved [castalina](https://wordpress.org/support/users/castalina/)
 * (@castalina)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-functions-php/)
 * I installed a child theme to my site, via the Childify Me plug in, and copied
   in some code in the the child theme function php file – a code to change the 
   footer credits fron “Designed by…” to my own text. I have previouslu put this
   in the parent themes functions php file, but then I need to put it back each 
   time I upgrade the theme. Thought it would be easier to put it in the child themes
   function php file…
 * Got this message, and now I can’t get in to the site at all!:
 * Fatal error: Cannot redeclare my_custom_credits() (previously declared in /storage/
   content/84/124384/test.mindgarden.se/public_html/wp-content/themes/child-customizr/
   functions.php:6) in /storage/content/84/124384/test.mindgarden.se/public_html/
   wp-content/themes/customizr/functions.php on line 61
 * What do I do??

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Martonno](https://wordpress.org/support/users/martonno/)
 * (@martonno)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-functions-php/#post-6328307)
 * Seems like you added the function my_custom_credits() in child-customizr/functions.
   php and customizr/functions.php.
    Remove the function in customizr/functions.
   php and it should work again.
 *  Thread Starter [castalina](https://wordpress.org/support/users/castalina/)
 * (@castalina)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-functions-php/#post-6328316)
 * Thanks. I couldn’t get out of the page, and couldn’t log out, so finally I closed
   the browser hoping I could get back in. Now I can’t even get in to the login 
   page, all I see is the above Fatal error message on the top of the page when 
   I use my bookmark/or type in [http://www.test.mindgarden.se/wp-login.php](http://www.test.mindgarden.se/wp-login.php)…
   How do I get back in to the wp-login page??
 *  [Martonno](https://wordpress.org/support/users/martonno/)
 * (@martonno)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-functions-php/#post-6328327)
 * Connect to your site’s files using an FTP client (for example [FileZilla](https://filezilla-project.org/))
   or your host’s file manager (if available), navigate to /wp-content/themes/customizr,
   open the functions.php and remove the my_custom_credits() function.
 *  Thread Starter [castalina](https://wordpress.org/support/users/castalina/)
 * (@castalina)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-functions-php/#post-6328427)
 * Thank you! Could reach my server host now and get som help with the FTP settings,
   there had been an update on their side and then I could do the changes you suggested.
   Problem solved, phew!
 *  [Martonno](https://wordpress.org/support/users/martonno/)
 * (@martonno)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-functions-php/#post-6328428)
 * Glad you where able to solve the problem.
 * For future changes on your child-themes functions.php:
    Download a copy of it
   before doing any changes 😉 The problem may occur again, as soon as you use a
   functionname twice, miss some brackets or another minor error. In that case, 
   just overwrite the faulty functions.php with your copy through ftp.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error! functions php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 5 replies
 * 2 participants
 * Last reply from: [Martonno](https://wordpress.org/support/users/martonno/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-functions-php/#post-6328428)
 * Status: resolved