• Resolved lisa

    (@contentiskey)


    I’ve used this plugin previously with success for other sites…however today I ran into a snag.

    I tested in brand new installation on localwp

    Create block theme version 1.11.0
    PHP 8.1.9
    WP 6.2.2
    no other plugins installed

    I created child themes using create block theme using:
    twentytwentythree and twentytwentytwo themes

    the uploaded child theme zip files could not be installed.

    error message upon install of child theme:
    Installing theme from uploaded file: tt3cbttest.zip
    Unpacking the package…

    The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    Installing theme from uploaded file: tt2cbttest.zip
    Unpacking the package…

    The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    I also tried to open/extra/view the zip files to try to install the child theme via ftp and was not able to open the zip files.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter lisa

    (@contentiskey)

    note: wp_debug is false, I created a child theme “manually” ( I had not added readme.txt) and activated — and then tried to add custom font. Saw an (error?) message but the custom font was successfully added in theme.json. I see a readme.txt file was created in my child theme too.

    here’s the message I noticed:

    Warning: file_get_contents(C:\Users\lisas\Local Sites\ladderback\app\public/wp-content/themes/ladderbackfrostchild/readme.txt): Failed to open stream: No such file or directory in C:\Users\lisas\Local Sites\ladderback\app\public\wp-content\plugins\create-block-theme\admin\class-manage-fonts.php on line 322

    Warning: Trying to access array offset on value of type bool in C:\Users\lisas\Local Sites\ladderback\app\public\wp-content\plugins\create-block-theme\admin\class-manage-fonts.php on line 364

    Hi @contentiskey I am going to ask a few questions to better understand the situation.

    You were having issues creating and importing a child-theme on LocalWP? If you try doing this on a different server do you get the same error?

    When you created the child theme manually you started having issues adding fonts to the site, how did you add them did you use the Create Block Plugin to add these fonts?

    Thread Starter lisa

    (@contentiskey)

    I created a staging site of my business website (not using localwp). PHP 8.0, WP 6.2.2, All other plugins deactivated. Theme: TwentyTwentyThree > create child theme (using Create Block Theme plugin)

    I was able upload, install and activate child theme “SHELLC child of TT23”. I was able “add google font” > I see the font was added in theme.json of child theme.

    Based on trying Create Block Theme plugin in an alternative environment, it seems like the issue I encountered might be specific to my use of localwp tool (version 6.7.2+6375). I will reach out to localwp community to see if I can get any guidance or feedback.

    • This reply was modified 1 year, 4 months ago by lisa.
    Plugin Author Sarah Norris

    (@mikachan)

    Hi @contentiskey. We’ve released a new version of the plugin today with a potential fix for the issue you were seeing. Could you please try version 1.12.0, and let us know if that fixes the issue? Thanks! 🙇

    Thread Starter lisa

    (@contentiskey)

    @mikachan — using localwp version 6.7.2+6375, wp 6.2.2, php 8.1.9, create block theme Version 1.12.0 — I was able to successfully create a child theme of twenty twenty three + add a google font to child theme. I see the following files in child theme: styles.css, theme.json, readme.txt

    thanks for quick resolution.

    Plugin Author Sarah Norris

    (@mikachan)

    Brilliant! Thanks for letting us know!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not able to create usable child theme’ is closed to new replies.