Home › Forums › Fashionic HTML Theme › Theme 'breaks' when Child Theme is installed
Tagged: child theme
- This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago by
SeaTheme.
- AuthorPosts
- July 26, 2016 at 9:56 am #10954
Hi,
When we generate a child theme we receive the following warning & fatal error:
Warning: require_once(/home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic-child/functions/option/options-framework.php): failed to open stream: No such file or directory in /home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic/functions.php on line 595
Fatal error: require_once(): Failed opening required ‘/home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic-child/functions/option/options-framework.php’ (include_path=’.:/usr/local/php-5.4.45-1/share/pear’) in /home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic/functions.php on line 595
Deleting the child theme and reinstalling Fashionic theme solves the problem, but we wish to have a child theme as you can imagine ;-). How can we solve thisd? Thanks in advance for your help!
Cheers,
MeerteJuly 26, 2016 at 9:57 am #10955Concerns following URL: http://supportmeteenklik.nl/cms
July 26, 2016 at 1:32 pm #10960Hi,
Please try to update the line587-593 in functions.php as:
//if ( STYLESHEETPATH == TEMPLATEPATH ) { define('OPTIONS_FRAMEWORK_URL', TEMPLATEPATH . '/functions/option/'); define('OPTIONS_FRAMEWORK_DIRECTORY', get_bloginfo('template_directory') . '/functions/option/'); //} else { // define('OPTIONS_FRAMEWORK_URL', STYLESHEETPATH . '/functions/option/'); // define('OPTIONS_FRAMEWORK_DIRECTORY', get_bloginfo('stylesheet_directory') . '/functions/option/'); //}
- AuthorPosts
- You must be logged in to reply to this topic.