Title: function.php
Last modified: August 21, 2016

---

# function.php

 *  Resolved [tangobest](https://wordpress.org/support/users/tangobest/)
 * (@tangobest)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/functionphp-10/)
 * hi customizr support team
    I have upgraded to customizr 3.1.5 but when i upload
   the function.php using ftp it does not work. It displays fatal error. Due to 
   this error currently am using the code for function.php from the previous version
   i.e 3.1.4. and also the categories are not reflecting in my articles at the top
   of the article. I have only the title, but not those categories in a box. please
   advise how to fix these two problems. for your reference the website is [welkessa.com](http://www.welkessa.com)

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

 *  [lynnais](https://wordpress.org/support/users/lynnais/)
 * (@lynnais)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4453861)
 * Its functions.php (plural)
    you seem to have figured that out already.
 *  Theme Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454023)
 * [@tangobest](https://wordpress.org/support/users/tangobest/) I set this as resolved
   as everything looks fine in your website.
    [@lynnais](https://wordpress.org/support/users/lynnais/)
   thanks for the help! Thanks
 *  Thread Starter [tangobest](https://wordpress.org/support/users/tangobest/)
 * (@tangobest)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454038)
 * hi nikoe and lynnais
    the above is typing error when i post my question for functions.
   php. but it was and now correctly inserted to serev . i get the following error.
   problem still exist. Fatal error: Cannot redeclare class TC___ in /home2/teshale/
   public_html/wp-content/themes/customizr/functions.php on line 88.
 * please advise how to fix. thank you again.
 *  [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * (@electricfeet)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454044)
 * Sounds like you are doubling up on a function somewhere. What’s in your functions.
   php file? (Make sure you use the “code” button here to enclose the code in backticks.)
 *  [DxMediaStudio](https://wordpress.org/support/users/dxmediastudio/)
 * (@dxmediastudio)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454188)
 * did you resolve this? I’m having the same issue
 *  [DxMediaStudio](https://wordpress.org/support/users/dxmediastudio/)
 * (@dxmediastudio)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454189)
 * Im assuming the TC is the same as the TC class declared for the W3 Total Cache
   Plugin.. If anybody knows how to fix this I do appreciate the info
 *  [DxMediaStudio](https://wordpress.org/support/users/dxmediastudio/)
 * (@dxmediastudio)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454190)
 * nope theres no tc declared that I can find for that… tried deactivating and reactivating
   plugins…
 *  Thread Starter [tangobest](https://wordpress.org/support/users/tangobest/)
 * (@tangobest)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454192)
 * HI All,
    the issue is resolved as indicated by electric feet it was duplicate.
 *  [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * (@electricfeet)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454193)
 * tc is “themes and co” and is a prefix used in the theme’s code.
 * A common mistake is to edit the theme’s own functions.php and place it in the
   child theme. This duplicates all the functions in the theme and WordPress will
   try to load the functions in both the files. As soon as it hits the first duplicate,
   it spits it out.
 * Check out how to use functions.php here: [http://www.themesandco.com/customizr/how-to-customize-customizr-wordpress-theme/](http://www.themesandco.com/customizr/how-to-customize-customizr-wordpress-theme/)

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

The topic ‘function.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

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

 * 9 replies
 * 5 participants
 * Last reply from: [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/functionphp-10/#post-4454193)
 * Status: resolved