Title: Error code
Last modified: August 21, 2016

---

# Error code

 *  Resolved [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/)
 * Hi!
 * When I try to move my Functions.php file to my child theme I get this error: 
   Fatal error: Cannot redeclare tc_header_container_start() in /home/aegroupf/public_html/
   wp-content/themes/customizr/functions.php on line 267
    and the site crashes. 
   What can i do about that?
 * Line 267 in the file is this: function tc_header_container_start(){
    Should I
   add some line of code there?
 * Appreciate all help!

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

 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927051)
 * What are you trying to do?
    Be more precise please. 🙂 You put some custom code
   in the core functions.php (customizr/functions.php) and then you copied the whole
   file in your child-theme? If yes, then it’s wrong. Don’t touch the core functions.
   php, so if you did it, revert it to the original one. Then create a child-theme
   functions.php this way:
 *     ```
       <?php
       /* Add all your custom functions below*/
       ```
   
 * That’s all.
 * [http://www.themesandco.com/customizr/how-to-customize-customizr-wordpress-theme/](http://www.themesandco.com/customizr/how-to-customize-customizr-wordpress-theme/)
   
   [http://www.themesandco.com/snippet/creating-child-theme-customizr/](http://www.themesandco.com/snippet/creating-child-theme-customizr/)
 * p.s.
    that error means that you cannot declare two functions with the same name,
   and it’s about php.
 *  Thread Starter [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927056)
 * I´m just trying to get the child theme to work properly, so I don´t have to edit
   the parent theme.
    I made a new functions.php and put all the stuff there and
   reseted the parent funtions.php. My site just crashes everytime I put that file
   in the child theme folder..
 *  Thread Starter [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927057)
 * I will read through that stuff and maybe learn something.
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927058)
 * What file?
 *  Thread Starter [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927062)
 * functions.php with all my custom functions
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927063)
 * Maybe the problem is in your functions.php with all your custom functions.
    Paste
   it using [this](http://pastebin.com/) a report back the link, and I’ll have a
   look at it, if you want.
 *  Thread Starter [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927066)
 * I will put it..
    Maybe this is a stupid question but should I put everything 
   that is in the original functions.php + my customizations or only my customizations
   to this new child functions.php? did you understand?
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927068)
 * Yes I think I understand :P.
    It is a legitimate question and the answer is: 
   Nope, just the custom functions. I provided links which show you the reasons 
   for that, or at least they should :D. Also I wrote :
 * >  Then create a child-theme functions.php this way:
   >     ```
   >     <?php
   >     /* Add all your custom functions below*/
   > 
   >     That's all.
   >     ```
   > 
 * “custom” is the key word 😀
 *  Thread Starter [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927073)
 * yup, all my experiences with php is related to crashing so have to make sure 
   🙂 I tried that too (only but the custom codes) but guess what happened..
 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927081)
 * You don’t need to copy the function.php file into your child theme. WordPress
   looks at the function.php in your child and in your parent theme.
 * You just need to add new or overwrite functions in the child theme . You need
   to have a function.php file in both child and parent. If you no longer have a
   function.php file in your parent theme that is a problem.
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927086)
 * Moira I told you, what kind of error do you get?
 *  Thread Starter [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927138)
 * It´s finally working! 🙂 I think I had the same code snippets in both parent 
   and child and that´s the reason it didn´t work. Or, it could be just magic 🙂
 *  Thread Starter [Moira.Akerman](https://wordpress.org/support/users/moiraakerman/)
 * (@moiraakerman)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927139)
 * so it´s resolved! thank you again!
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927141)
 * 😉

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

The topic ‘Error code’ 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/)
 * [error code](https://wordpress.org/support/topic-tag/error-code/)

 * 14 replies
 * 3 participants
 * Last reply from: [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/error-code-32/#post-4927141)
 * Status: resolved