• Tried to make a child theme for twenty-twenty-four

    Fatal error: Uncaught Error: Call to undefined method WP_Error::addThemeDir() in H:\mywebsite.com\wordpress\wp-content\plugins\create-block-theme\admin\create-theme\theme-zip.php:103 Stack trace: 0 H:\mywebsite.com\wordpress\wp-content\plugins\create-block-theme\admin\class-create-theme.php(266): Theme_Zip::add_templates_to_zip(Object(WP_Error), ‘user’, ‘mywebsite’) 1 H:\mywebsite.com\wordpress\wp-content\plugins\create-block-theme\admin\class-create-theme.php(470): Create_Block_Theme_Admin->create_child_theme(Array, Array) 2 H:\mywebsite.com\wordpress\wp-includes\class-wp-hook.php(324): Create_Block_Theme_Admin->blockbase_save_theme(”) 3 H:\mywebsite.com\wordpress\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 4 H:\mywebsite.com\wordpress\wp-includes\plugin.php(517): WP_Hook->do_action(Array) 5 H:\mywebsite.com\wordpress\wp-admin\admin.php(175): do_action(‘admin_init’) 6 H:\mywebsite.com\wordpress\wp-admin\themes.php(10): require_once(‘H:\mywebsite….’) 7 {main} thrown in H:\mywebsite.com\wordpress\wp-content\plugins\create-block-theme\admin\create-theme\theme-zip.php on line 103

Viewing 1 replies (of 1 total)
  • Thread Starter Andreas Münch

    (@andreasmuench)

    Ok guys, found the issue.

    Had to uncomment extension=zip in my php.ini

    Please think about checking if this extension is active and providing a helpful message, as e.g. in XAMPP it is not active by default

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error when trying to make a child theme’ is closed to new replies.