I have it working now. It was an issue with a wrongly placed line of code. The other issue also resolved itself but I’m assuming there’s a limit to how many revisions can be saved in WordPress? Could thet have been the reason it wasn’t saving?
I had help and when we started a new page with the edited code and started back to 1 revision, it was saving fine.