Support » Themes and Templates » Fatal Error w/ Child theme

  • billylitt

    (@billylitt)


    I tried to create a child theme of twenty eleven to modify a function in functions.php. However, because (at least this is what I read) WP appends the parent php file beneath the child one, one of my variables is getting redeclared, which evidently causes a fatal error. Now I can’t get on my site or any of the WP-admin area to fix it.

    Any advice? I’m pretty new to all this, I might be missing something obvious.

Viewing 1 replies (of 1 total)
  • Emil Uzelac

    (@emiluzelac)

    Theme Review Admin

    When creating functions.php under the Child Theme, please make sure that you don’t have any blank spaces before or after the PHP codes.

    <?php
        echo "Hello World!";
    ?>

    In your case I would recommend to get an FTP access from your host and download your functions.php and see if you have blank spaces, if so delete them and re-upload again.

    Thanks,
    Emil

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error w/ Child theme’ is closed to new replies.