This error (“pageMode is not a valid attribute”) comes from the collectives app and is going to be addressed in an upcoming release of the app. Disabling the app as mentioned in this answer will remove the error:
This answer in the same thread has a link to a temporary workaround so that the app can be activated again without waiting for the release containing the fix: