Can anyone shed a light on what is causing the error message. I have upgraded a perfectly working site to version 9.2.2 on PHP 8.1 and this appears to have broken my ‘News’ composer pages and so I now see the attached error message when attempting to post, view or edit a news page.
I have noticed that within the composer ‘Page Type’ set up page you can no longer see or select a page template under the Allowed Page Templates section.
I have managed a work around to solve the issue for now. That was to switch back to PHP 7.4 which stopped the error message. Then delete the composer control blocks on my News page type and then re-apply them and save. Everything currently seems ok now but obviously there is a bug which I have reported on Git.
That was my quick solution as well but I cannot figure out why the error gets triggered sometimes and not other times. I have one user of about 25 that cannot edit one page of the site (throws the error) but as far as I can see, there’s nothing in the permission structure that makes this user unique from the others. I gave up troubleshooting and just added the code above. It only started happening after upgrading to 9.2.2 from 9.2.1.