Error creating child theme

I tried to create a child theme without any success. I installed child theme configurator to see the issues and it displays the following messages. I am using wp 4.9.4 version. Is there a work around? thanks.

( ! ) Deprecated: Function create_function() is deprecated in /Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/widgets/widget-preview-post.php on line 12
Call Stack
#TimeMemoryFunctionLocation
10.07304567192{main}( )…/index.php:0
20.07314569080require( ‘/Library/WebServer/Documents/foo/wp-blog-header.php’ )…/index.php:17
30.07334581560require_once( ‘/Library/WebServer/Documents/foo/wp-load.php’ )…/wp-blog-header.php:13
40.07344592856require_once( ‘/Library/WebServer/Documents/foo/wp-config.php’ )…/wp-load.php:37
50.07394672160require_once( ‘/Library/WebServer/Documents/foo/wp-settings.php’ )…/wp-config.php:98
60.423442627112include( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/functions.php’ )…/wp-settings.php:426
70.424542723744require( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/custom-widgets.php’ )…/functions.php:231
80.424942759120require( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/widgets/widget-preview-post.php’ )…/custom-widgets.php:50

( ! ) Deprecated: Function create_function() is deprecated in /Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/widgets/widget-media-embed.php on line 12
Call Stack
#TimeMemoryFunctionLocation
10.07304567192{main}( )…/index.php:0
20.07314569080require( ‘/Library/WebServer/Documents/foo/wp-blog-header.php’ )…/index.php:17
30.07334581560require_once( ‘/Library/WebServer/Documents/foo/wp-load.php’ )…/wp-blog-header.php:13
40.07344592856require_once( ‘/Library/WebServer/Documents/foo/wp-config.php’ )…/wp-load.php:37
50.07394672160require_once( ‘/Library/WebServer/Documents/foo/wp-settings.php’ )…/wp-config.php:98
60.423442627112include( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/functions.php’ )…/wp-settings.php:426
70.424542723744require( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/custom-widgets.php’ )…/functions.php:231
80.426942800728require( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/widgets/widget-media-embed.php’ )…/custom-widgets.php:64

( ! ) Deprecated: Function create_function() is deprecated in /Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/widgets/widget-tabs.php on line 12
Call Stack
#TimeMemoryFunctionLocation
10.07304567192{main}( )…/index.php:0
20.07314569080require( ‘/Library/WebServer/Documents/foo/wp-blog-header.php’ )…/index.php:17
30.07334581560require_once( ‘/Library/WebServer/Documents/foo/wp-load.php’ )…/wp-blog-header.php:13
40.07344592856require_once( ‘/Library/WebServer/Documents/foo/wp-config.php’ )…/wp-load.php:37
50.07394672160require_once( ‘/Library/WebServer/Documents/foo/wp-settings.php’ )…/wp-config.php:98
60.423442627112include( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/functions.php’ )…/wp-settings.php:426
70.424542723744require( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/custom-widgets.php’ )…/functions.php:231
80.429742846440require( ‘/Library/WebServer/Documents/foo/wp-content/themes/fashionistas/inc/widgets/widget-tabs.php’ )…/custom-widgets.php:78

Hello, try to create a child theme manually and see if it works properly.

You can check this WordPress Codex page for detailed instructions:
https://codex.wordpress.org/Child_Themes

Kind Regards, Roman.

Hello,

Yes I did manually created the child theme and failed to load or show up on the theme page. That’s when I use the plugin to find out why. I also tested with ony theme name and theme template fields. Not sure if this is my WP issue or others might have similar problem. Thanks.

Hello, I’ve just tried to manually create Fashionistas child theme and it worked well.

You can try to rebuild your website in a staging environment or locally and see if child theme works as it should (then you will be able to move rebuilt website to production environment). Please remember about importance of regular full site backups (files and database):
https://codex.wordpress.org/WordPress_Backups

Here are helpful tutorials:



Kind Regards, Roman.