I figured it out. You have to use "Edit with PageLayer" instead of the regular Edit. However, I realised that I don't like PageLayer nor anything similar and have disabled it. If you don't want to use it, just remove the sections that show the error and use the regular Edit method to add your content.