You mentioned that you disabled all plugins, and changed the theme (I assume you used one of the ‘twenty’ themes, which is what I usually do when trying to find theme/plugin problems).
Did you also look at the ‘must use’ plugins (in wp-content/mu-plugins ) (see https://codex.wordpress.org/Must_Use_Plugins ). Maybe a plugin in there is causing problems.
I’d also look at the Network tab in Developer Tools (in your browser, usually F12) to see what request element is actually causing the 404. That might point you to the plugin/theme/whatever problem.
You could also do a re-update of WP (in the Admin, Updates) section to see if there is some missing core code.
Related Posts:
- Keyboard shortcut for updating a page or post?
- Connection lost. Saving has been disabled… (Updating Posts/Pages)
- how to limit edit_form_after_title hook to page and post edit only?
- PHP Notice error (when on 404 page)
- White Blank Page when Updating and Publishing Page/Post
- 404 error on default post type and default taxonomy fronted page
- Posts and Pages: 404 Page not found
- Prevent 404 of Author pages without posts
- 404 error on every post and page other than home
- Get post title of faulty link on 404 error page
- Cannot Create a new Post [closed]
- Stop WordPress Wrapping Images In A “P” Tag
- Determine if page is the Posts Page
- Get the Current Page Number
- Stop WP from creating “Sample Page” and “Hello World!” post
- Apply the_title() filter in post & page title, but not in menu title
- How to display by default only published posts/pages in the admin area?
- Get current menu_order
- Difference between an archive and a page listing posts
- Delete Associated Media Upon Page Deletion
- The next_posts_link() works only with original $wp_query
- Get content from one page and show it on another page
- How to Check if a Page Exists by URL?
- Customizing HTML Editor Quicktags button to open a dialog for choosing insert options
- Allow user to “edit_others_posts” to save only, not publish
- get_children() Not Working with orderby Parameter
- Let private posts stay in status “private” after edit through “editors”
- Using single.php from plugin folder instead of default template folder
- Post/Page Publish/Update button not clickable once I make an edit
- Strategy for handling hierarchical pages with empty parent content
- Skipping first 3 posts in wp query
- Custom Field in Featured image for A particular post
- How to add a new tab to page editor
- Listen to Post action
- How to display the page title/content in the Posts page?
- Fatal error: Call to undefined function post_exists()
- How to create WP Editor using javascript
- Callback for wp.autosave.server.triggerSave();
- How can I see a list of pages and post where my custom Gutenberg block is used?
- How to add editor’s name to entry meta byline?
- Restore contents of deleted user
- disable password protected page for logged users
- How to change post to page
- RSS for Pages Instead of Posts?
- Display posts by tag on page
- Why do I need to use The Loop on pages (inside page.php etc)?
- What is the difference between “post” and “page” in WordPress?
- Create custom page in WooCommerce
- posts page – different lengths of excerpt
- WordPress automatic and permanent page
- Restrict access to post if it is currently being edited
- Change padding to text indent in “Increase indent” TinyMCE
- Is there a WordPress equivalent to MediaWiki templates
- Determining Slug Before and After Edit
- Getting an alphabetic post list with two letters onclick on letter
- How can I allow editors to leave comments on posts that have not yet been published?
- Automatically added brs and paragraphs?
- Automatically create pages in a post based on number of words
- Static posts page with home.php
- Change WordPress post-state in Admin Area
- Pagination not working on Custom Page Template
- 404 error after publishing a post
- How can I pass $post object to ‘save_post’ add_action?
- Set number of article per number of page
- Pagination for Pages and Posts
- Is it possible to show a different WP menu when using password protected pages?
- Can I change a post to a page by changing it’s type?
- Overview with latest edited posts and pages
- how to show all post in my page-grid.php template page
- eBooks download website, page or post?
- Multiple loops in same page, without duplicate content
- Some posts returning 404 instead of displaying post
- Custom post type single (permalink) throws a 404 error
- Add a custom option to a page in backend
- Include related posts on a page
- why does HTML Tag not working in Post and Page
- Creating new page with pre-defined parent page
- Custom function for “Submit for Review” hook
- Unable to modify(update) posts – Page not found
- problem to delete page
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- add image map script to post
- Populating a page with content from post custom fields
- Content editor creating blank paragraphs in spaces and creating   in the_excerpt
- Can I hide a specific post from latest posts page?
- Sql syntax error
- Debugging WP routing
- Hide add new page button
- Edit menu item title from edit page/post
- Redirect before post page
- $post object is null
- How to show post(excerpt) from specific category on wp page?
- 2nd button row from WP Super Edit or TinyMCE Advanced doesn’t show to 2nd admin
- Fatal error post.php help :(
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- Is there any WordPress alternative to Book module of Drupal?
- Changing my permalink structure – will new layout conflict with existing page?
- ‘Invalid post type’ error when importing from one site to another
- Convert a complex webpage into WP theme
- How To Keep Posts from Being Displayed Two or More Times on My Homepage? [closed]