WordPress.org

Ready to get started?Download WordPress

Forums

Delicacy Child Theme (6 posts)

  1. eodickso
    Member
    Posted 1 year ago #

    I just tried to activate my Delicacy child theme, however I am now getting the following Fatal messages... The top one was received after I tried to rename my child folder:

    Warning: require_once(/home/eodickso/public_html/wp-content/themes/delicacy-child/meta-box/meta-box.php) [function.require-once]: failed to open stream: No such file or directory in /home/eodickso/public_html/wp-content/themes/delicacy/functions.php on line 157

    Fatal error: require_once() [function.require]: Failed opening required '/home/eodickso/public_html/wp-content/themes/delicacy-child/meta-box/meta-box.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eodickso/public_html/wp-content/themes/delicacy/functions.php on line 157

    Can anyone help me? I'm new to this and have no idea what would fix it.

    My site is: thedicksondish.com

  2. alex27
    Member
    Posted 1 year ago #

    You need to manually copy meta-box folder from Delicacy to your child theme folder.

  3. eodickso
    Member
    Posted 1 year ago #

    Thank you! I'm making progress, but now have a new problem. If I copy the functions.php file into my child theme folder, I get the following message:

    Fatal error: Cannot redeclare delicacy_page_menu_args() (previously declared in /home/eodickso/public_html/wp-content/themes/delicacy-child/functions.php:57) in /home/eodickso/public_html/wp-content/themes/delicacy/functions.php on line 60

    If I delete the functions.php file, I can get back into my site, but all the formatting is gone. Any ideas on how to solve this?

  4. eodickso
    Member
    Posted 1 year ago #

    I'm still having trouble with the function.php file as described above. I'm wondering if this has something to do with how my style sheet was written? Am I missing something?

    /*
    * Theme Name: Delicacy Child
    * Theme URI: http://thedicksondish.com
    * Description: Child theme for Delicacy
    * Author: Emily Dickson
    * Author URI: http://thedicksondish.com
    * Template: delicacy
    * Version: 1.0
    */

    @import url("..delicacy/style.css");

  5. ediblist
    Member
    Posted 1 year ago #

    I just had the same issue and went through hell trying to fix it.

    Does anyone know what the problem is / what was done incorrectly?

  6. WPThemes.co.nz
    Member
    Posted 1 year ago #

    Try removing the function delicacy_page_menu_args() from your functions.php file in the child theme.

Topic Closed

This topic has been closed to new replies.

About this Topic