• Resolved tpcantab

    (@tpcantab)


    Hi

    I have the latest version of WordPress, as of today, 6.2 and I have updated virtually all plugins incl “Create Block Theme”.

    This is self-hosted running on “CentOS Linux release 7.9.2009 (Core)” with httpd24-httpd-2.4.34-23.el7.2.x86_64.

    I am a bit behind php wise on 7.3.33.

    I exported a theme using “Create Block Theme” and then tried to import it and I got a server 500 response.

    I understand that I should run it in debug mode, but I have resolved the issue so haven’t done that.

    The problem seems to be that the export, zip, does not contain a root level folder with the theme files in the folder. All the theme files are at the root of the zip. If extract the zip and recreate it so the theme files/folders are under a subfolder the import works fine.

    I am unclear if this is an issue with the export or the import side of things, or something with my environment, but wanted to pass it along as I can’t find any reports of the same issue.

    Create Block Theme is at Version 1.8.2

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matias Benedetto

    (@mmaattiiaass)

    Hi @tpcantab, thanks for reporting this issue.
    I’m not sure what can be failing. Is your theme exporting as expected?
    Could you share the .zip file you are getting? That would be useful to debug the problem.

    Thanks

    Thread Starter tpcantab

    (@tpcantab)

    Thanks for responding, sorry my first time posting in this forum, I am not sure how to upload the zip.
    I know what fixed the problem it was adding a subfolder. So the export structure looked something like:

    mytheme.zip
    assets
    parts
    patterns
    styles

    If I changed it to:

    mytheme.zip
    mytheme
    assets
    parts
    patterns
    styles

    Then it imported fine

    Thanks again

    Plugin Author Matias Benedetto

    (@mmaattiiaass)

    Thanks, nice to hear that you could find the solution.
    We are working on a fix to export the .zip files, always containing a folder with the theme slug as the name to avoid this kind of error. It will be released soon.

    Thanks again for your report. I’m marking this as resolved.
    Feel free to create new threads if you find other issues.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘500 Error importing exported theme’ is closed to new replies.