I run in this issue by updating an older develop site to the latest Kirby version.
This issue is older than the last Kirby version. So I think, it would be nice, if you can prevent this issue in the next Kirby version.
I thank the entire Kirby team and wish you a happy new year.
I actually think this is the more correct way of dealing with this issue rather than setting pages to false. All that is left to do then is to make the first level pages undeletable.
Nobody can add anything, nobody can delete anything, and you can still access the page view to sort pages if that is allowed (which you can’t when setting pages: false.
I agree, but I still think we should fix pages: false so that it at least doesn’t throw an error but falls back to a behavior where no additional pages can be added. So basically pages: false should be an alias of max: 1 in the site blueprint.