I’ve noticed an interesting issue, very likely related to this problem.
We are developing a website with this theme both locally and on a server.
I can edit all pages on my local setup just fine. Only a few pages give the 404 error that I have mentioned earlier, but the changes always get saved anyway. It demands a solution, but I can still develop the website.
However, when I try to edit pages on the server, editing a page and clicking “Update” redirects me to a blank page with no errors, and with no changes being saved. The path of this blank page is always /wp-admin/post.php
Again, not sure if it’s related to the original issue but I feel it must be. Until we can fix this, the website is only being developed locally.