• Hello,

    To correct a fatal error message, I have changed/deleted php files in my Twenty Fourteen Child and Parent folder via FileZilla. I don’t have the fatal error message anymore but my site doesn’t look like it was before and seems broken somewhere. I have no idea where to fix this…

    What should I do?

    Thanks a lot for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I have changed/deleted php files in my Twenty Fourteen Child and Parent folder via FileZilla

    can you re-upload the original theme?

    Thread Starter Hypsteria

    (@hypsteria)

    Thanks for your reply.
    I have re-upload the original theme in my Parent folder but it’s still looking bad…
    On my child folder I just have style.css + 2 style.css backup and functions.php. Should I add or modify something?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Does it still look bad with the parent theme activated?

    Thread Starter Hypsteria

    (@hypsteria)

    Yes, it still look bad with the Parent theme activate.
    I have this message with the Parent theme in previsualisation “fatal error : Call to undefined function twentyfourteen_has_featured_posts() in home/hypsteriih/wp-content/themes/twentyfourteen/index.php on line 22

    Thread Starter Hypsteria

    (@hypsteria)

    Any idea?

    Thread Starter Hypsteria

    (@hypsteria)

    Site blocked again with a fatal error : Fatal error: Cannot redeclare twentyfourteen_content_width() (previously declared in /home/hypsteriih/www/wp-content/themes/twentyfourteen-child/functions.php:126) in /home/hypsteriih/www/wp-content/themes/twentyfourteen/functions.php on line 129

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Your child theme will never work until you get the parent theme working.

    Can you outline what exactly you changed/ deleted in the parent theme?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Site broken after replacing header.php file in Child theme’ is closed to new replies.