I have a page container “casinos” which right now contains one subpage. I can change the visibility status of the subpage just fine but it won’t let me change the status of the parent page. I tried setting it to draft, unlisted, tried different positions - nothing works. I also can’t manually move or rename the folder.
If I delete the subpage, the error does not occur. “Casinos” hat the preset type “pages”.
It’s pretty odd, because my blog page also has subpages and everything works fine there.
The blog page however doesn’t have the preset “pages” but instead uses a section with the pages type.
I just noticed that now. So it seems like that makes a difference (?).
I just checked my blog page, which uses the section type pages and the error does in fact occur aswell. When I created the blog I must have published it first before creating the articles (subpages) and thus I did not get an error. Now when I try to change the blog from published to draft, I get the same error as with my other page.
Regarding byyboras comment:
This actually helped fix my problem. As stated in the GitHub issue, they used some program to monitor the kirby files for changes.
Well, I was using Prepros to compile my SCSS and it was of course watching the whole folder structure. I exited Prepros and the error disappeared and I can publish pages without issues, no matter if I use a preset or a section.