New Landing How can we help? Atelier Cannot redeclare sf_atelier_footer_after_title

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #319692
    admin_cz
    Member
    Post count: 55

    Hi, after updating theme I have this error:
    Fatal error: Cannot redeclare sf_atelier_footer_after_title() (previously declared in /data/web/virtuals/150483/virtual/www/domains/domain/wp-content/themes/atelier-child/functions.php:456) in /data/web/virtuals/150483/virtual/www/domains/domain/wp-content/themes/atelier/functions.php on line 456
    What to do?

    #319695
    David Martin – Support
    Moderator
    Post count: 20834

    I would need to see how you have added that to your child theme.

    Are you using the correct check? if ( ! function_exists( 'your_function_name' ) ) {

    #319702
    admin_cz
    Member
    Post count: 55

    I am sorry I did not explained. I made a copy of functions.php because I wanted to comment out some code there. So I pasted the eddited functions.php to my child theme but apparently that is not working… How should I do that if I dont want to modify the original atelier theme functions.php?

    #319706
    David Martin – Support
    Moderator
    Post count: 20834

    Do not do that.

    Only copy the actual function you want to change.

    #319715
    admin_cz
    Member
    Post count: 55

    Oh, ok, thanks. And is it safe alreary to update woocommerce to 3.0 if I have the Atelier 2.4.31 installed?

    #319721
    David Martin – Support
    Moderator
    Post count: 20834

    The latest Atelier update for Woo was sent out last night at 4am. Yes, the latest theme is compatible.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register