Hello,
I have the same error in my site (404 error when clicking Edit in any post), and after deactivating several plug-ins I have discovered that Polylang is creating the issue. Has anybody encountered this problem? Any help will be appreciated 🙂