Support » Plugin: One-Click Child Theme » [Plugin: One-Click Child Theme] Weird errors after creating child

  • Getting this strange error now at my url:

    Also has booted me out of admin and I can’t log back in. This error is in the admin area:
    array(5) { ["parent_template"]=> string(11) "animalhouse" ["parent_theme"]=> string(11) "animalhouse" ["new_theme"]=> string(20) "all-dogs-dream-child" ["new_theme_path"]=> string(87) "/misc/31/290/995/803/6/user/web/" ["new_theme_title"]=> string(20) "All Dogs Dream child" } NULL Theme switched!

Viewing 14 replies - 1 through 14 (of 14 total)
  • I seemed to have fixed the problem by copying the “admin” folder from my original theme folder to the new child theme folder.

    Yeah, the same thing happens with theme Delicacy. Not to mention it crashed my whole website with fatal errors. Copying admin folder from parent theme helped, but I think the whole point of this plugin, is that I don’t have to do it manually via FTP.

    If the parent theme is coded properly this shouldn’t happen.

    A blind guess, but if the parent theme is using get_stylesheet_directory to find it’s admin folder instead of get_template_directory this could happen.

    Quickly looking at Delicacy it’s doing some unusual conditional logic to determine where to load the admin from:

    /* Options Framework Theme
    /* Set the file path based on whether the Options Framework Theme is a parent theme or child theme */
    	define('OPTIONS_FRAMEWORK_URL', TEMPLATEPATH . '/admin/');
    	define('OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/admin/');
    } else {
    	define('OPTIONS_FRAMEWORK_DIRECTORY', get_stylesheet_directory_uri() . '/admin/');
    require_once (OPTIONS_FRAMEWORK_URL . 'options-framework.php');

    I’m not going to dig into it further, but it looks like a non-standard way to define parent/child themes…

    Stopping by to say thanks to all of you above. I had the same problem and fixed it by moving the admin folder. Cheers! 🙂

    I just got a similar error.

    Now I can’t access anything on the WP admin or the actual site.

    Getting “server error” on chrome when trying to load anything.

    Did this happen to you all as well?


    This theme didnt work for me either. Even after moving the admin folder to the child theme. I have just about the same conditional formatting as above and I think thats what really screwing me up. My site it just blank when I do all this. back to the normal theme for now.



    I just used the One Click Child Theme (unfortunately before reading this thread!) and am getting the following error: (ACK!!!!)…

    Warning: require_once(/home/loriverni/ [function.require-once]: failed to open stream: No such file or directory in /home/loriverni/ on line 157

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/loriverni/’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/loriverni/ on line 157

    I have no idea what I should do now! My entire website seems to be GONE! Any help would be vastly appreciated… if I had the coding knowledge, I wouldn’t have been using One Click in the first place! ACK!


    Thanks in advance.



    I got this too and I get it when building sites if the theme Im using doesnt support child themes. Your theme’s functions.php doesnt currently allow child themes so to fix your issue (make your site work), you’ll need to go into phpmyadmin and tell the database to use your default theme. Once you get the site back up, you’ll have to either forgo a child theme or edit your themes functions.php to look to your stylesheet directory.

    Your site is not gone, rest assure.

    You’re errors have nothing to do with this plugin. It all goes back to your default theme.



    Thank you so much, Tech4Eleven! I just restored my site via my host, so I’m okay. But what would you suggest? Should I just always keep a copy of my .css stylesheet whenever I make customizations? Or what? I feel like it’s too late to switch to an entirely different theme and I do have a lot of customizations. Thanks.



    are your customizations in your childtheme’s stylesheet or just in the themes stylesheet?



    If all you need are css customizatons, you could use a plugin like My Custom CSS or Custom JavaScript Editor. It allows you to input your own styles or overwrite theme stylesheet and keep the changes while updating the theme. Anyway I plan to make Delicacy Child theme friendly soon 🙂



    +1 (although sometimes you need to edit the header. I had to edit the header of my theme in order to find my childs stylesheet. but maybe you dont have to do that with the plugins above.



    There is no child theme… that’s what I was trying to create.

    When I started my site, I used the Delicacy theme. Over time, I’ve gone directly into the Stylesheet (style.css) and made changes to layout, colors, etc, etc.

    I recently found out that you’re not supposed to do that… you’re supposed to have a Child Theme so that if there were an update you wouldn’t lose all your customizations. So, I read a zillion blogs, wasted hundreds of hours trying to figure out how to do it, and ended up trying the One Click Child Theme Plugin. Ended up with the error above, etc.

    So, that’s the story. Just trying to figure out what would be best to do now. I love my site and have put a lot of work into it! Thanks so much for your time… it is genuinely appreciated!!



    Hi All, I’ve downloaded & activated the One Click Child Theme Plugin via the plugin page of my clients site, I then tried to fil in the form as instructed but I then just got this message:

    This child theme requires its parent theme, RT-Theme 16.

    Any ideas or help to how I get the One Click Child Theme Plugin to work?


Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: One-Click Child Theme] Weird errors after creating child’ is closed to new replies.