Automattic / studio

Studio by WordPress.com, a free desktop app that helps developers streamline their local WordPress development workflow.
https://developer.wordpress.com/studio/
GNU General Public License v2.0
193 stars 18 forks source link

Studio: Create Block Theme child theme-white screen #515

Closed elurie closed 1 month ago

elurie commented 2 months ago

Quick summary

The Create Block Theme plugin 'create child theme command' results in a white screen or msg. The theme you are currently using is not compatible withthe site editorI

Steps to reproduce

Start Studio Site Editor (moon icon) Create Block Theme(Wrench Icon)>Create Theme>Create Child Theme. Name it, and click the "Create Child Theme" button. Get White screen or Message; The theme you are currently using is not compatible with the Site Editor

What you expected to happen

Using TT4 theme, and the Create Block Theme plugin

What actually happened

Error message: Get White screen or Message; "The theme you are currently using is not compatible with the Site Editor". Then after quit Studio and restart the site, Error Message is:

Warning: Attempt to read property "content" on null in /var/www/html/wp-includes/blocks/template-part.php on line 73

Impact

One

Available workarounds?

No and the app is unusable

Platform

No response

Logs or notes

No response

wojtekn commented 1 month ago

@elurie, thanks for reporting the issue. I've just tested this flow in Studio 1.1.2, and it worked fine. Instead of the white page, I've got the editor reloaded with a new theme. Then, I see a new theme in Appearance -> Themes:

Screenshot 2024-09-24 at 12 26 03

Would you mind retesting it using the latest Studio version?

Robertght commented 1 month ago

πŸ“Œ REPRODUCTION RESULTS

πŸ“Œ ACTIONS

πŸ“Œ Message to Author

elurie commented 1 month ago

thanks for your reply, I did it a few more times and finally, it started working.