Call to undefined method WP_Error::addThemeDir()
-
Hi Guys,
Running on PHP PHP 8.2.6 im running in to this error when i try to generate a “Create Child of Freshcart(my blocked theme)”
Is there a certain library or package i’m missing that needs to be installed on my server to make this work?[28-Jun-2023 08:33:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::addThemeDir() in /var/www/xxx/wp-content/plugins/create-block-theme/admin/create-theme/theme-zip.php:103 Stack trace: #0 /var/www/xxx/wp-content/plugins/create-block-theme/admin/class-create-theme.php(257): Theme_Zip::add_templates_to_zip() #1 /var/www/xxx/wp-content/plugins/create-block-theme/admin/class-create-theme.php(461): Create_Block_Theme_Admin->create_child_theme() #2 /var/www/xxx/wp-includes/class-wp-hook.php(308): Create_Block_Theme_Admin->blockbase_save_theme() #3 /var/www/xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /var/www/xxx/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /var/www/xxxx/wp-admin/admin.php(175): do_action() #6 /var/www/xxx/wp-admin/themes.php(10): require_once('...') #7 {main} thrown in /var/www/xxx/wp-content/plugins/create-block-theme/admin/create-theme/theme-zip.php on line 103
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Call to undefined method WP_Error::addThemeDir()’ is closed to new replies.