Hi @vladmor47. I cannot reproduce this. Creating and updating patterns and templates seems to be working as expected on my testing site. It sounds like this could be a plugin conflict or a server configuration issue.
Have you tried deactivating all other plugins?
I am working on a local Open Server. Installed a clean version of WordPress-6.3.
All plugins are deactivated.
I want to create my own theme. I create it from Twenty Twenty-Two.
To do this, I created a child theme and started the changes from the title. Went into patterns->template parts->header and created a new header type pattern. Named it “Header(Mine)”. Added a group, and in it Image and Header. I save.
I get “Save failed”. At the same time, the “Header(Mine)” pattern was created, but empty.
In the previous version of WordPress-6.2, everything was preserved.
The situation is similar in other topics.
Thanks for the extra details @vladmor47 – At the moment I’m also unable to recreate this issue in testing.
To rule out the option that it is your local server that is involved – could you please try the issue on a service like https://instawp.com/ to see if it happens still?
The other thing to check is whether the issue happens if you add the template part for TwentyTwentyTwo directly (instead of a child theme).
Thanks for the help. It turned out to be really in my local server.
I reinstalled Open Server and the save error disappeared. Now everything is saved.
Sincerely, Vladimir.