• Resolved tangobest

    (@tangobest)


    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Its functions.php (plural)
    you seem to have figured that out already.

    Theme Author presscustomizr

    (@nikeo)

    @tangobest I set this as resolved as everything looks fine in your website.
    @lynnais thanks for the help!
    Thanks

    Thread Starter tangobest

    (@tangobest)

    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.

    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.)

    did you resolve this? I’m having the same issue

    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

    nope theres no tc declared that I can find for that… tried deactivating and reactivating plugins…

    Thread Starter tangobest

    (@tangobest)

    HI All,
    the issue is resolved as indicated by electric feet it was duplicate.

    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: https://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.