Title: Update post error
Last modified: December 15, 2018

---

# Update post error

 *  [emaxads](https://wordpress.org/support/users/emaxads/)
 * (@emaxads)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/)
 * Page not found [https://domain.com/wp-admin/post.php](https://domain.com/wp-admin/post.php)
   goes to url when updating existing post. does not save changes. Update works 
   when plugin deactivated. This is happening on multiple sites have deactivated
   different plugins No PHP Errors in Debug anyone else experiencing this problem.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fupdate-post-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10993384)
 * This might be the same problem as experienced in this post:
    [https://wordpress.org/support/topic/502-bad-gateway-error-when-i-try-to-save-draft-2/](https://wordpress.org/support/topic/502-bad-gateway-error-when-i-try-to-save-draft-2/)
 * Its not solved yet. Somehow after the classic editor got moved out of core in
   some cases its not (re)directing to the correct file/location anymore on saving.
 * Could this be an improper redirect to mysql or from wp-includes folder to wp-
   admin? I do not see a solution but maybe somebody does.
 *  Thread Starter [emaxads](https://wordpress.org/support/users/emaxads/)
 * (@emaxads)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10993736)
 * Found that the error only occurs on posts created before install 5.0 and Classic
   Editor also some pages fail some don’t and If I am editing a page I can not add
   media Click insert into Page and nothing happens Why did WP fix something that
   wasn’t broken almost all my sites use custom html and javascript. If I even open
   them with the Gutenberg they break. Anyone ever downgrade a WP Version?
 *  Thread Starter [emaxads](https://wordpress.org/support/users/emaxads/)
 * (@emaxads)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10994985)
 * Ok so I picked a site deactivated all plugins except Classic Editor If I try 
   to edit a post “Update” or preview changes I get Page Not Found with a URL
 * [https://mydomain/wp-admin/post.php](https://mydomain/wp-admin/post.php)
 * It is missing ?post=29&action=edit
 * This happens on 4 out of 7 posts on this site there are only 7 posts.
 * I have pinned it down that this happens to any post with an image in it also 
   the image will not show up in the visual editor. The code in the post that breaks
   the plug in is like this
 * `<a href="https://mydomain.com/uploads/media.jpg" rel="attachment wp-att-30">
   <img class="alignleft size-medium wp-image-30" src="https://mydomain.com/uploads/
   media.jpg" alt="ss-nova" width="300" height="158"></a>`
 * I can bulk update posts what i tried was changingg author on all posts and then
   changed back.
 * I also noticed that
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10995773)
 * Its good that you disabled all other plugins when testing. So if all plugins 
   are disabled including the Classic Editor plugin you have no problems saving 
   posts?, then when you enable the Classic Editor plugin (leaving all others disabled)
   you start to have problems saving drafts/posts?
 * Only thing that i can think of to experiment is to see if the problem also occurs
   with older versions of the Classic editor plugin, you can find and download older
   versions on the bottom of this page: [https://wordpress.org/plugins/classic-editor/advanced/](https://wordpress.org/plugins/classic-editor/advanced/)
 * I do most on my server via ftp like updating plugins and updating WordPress. 
   Via FTP you can easily remove a plugin and replace it with an older version.
 * Maybe that can help pinpoint if things go wrong from a specific version.
 * Other thing you could look at is at the permalink settings of your website via
   _wp-admin > settings > permalinks_. Maybe something is mixed up there, the correct
   piece of code to be included in the .htaccess file that then should be placed/
   is located in the same folder as the root files of WordPress should be shown 
   at the bottom of the _wp-admin > settings > permalinks_ page.
 * Also good to check if you might have other custom .htaccess files or custom rules
   in a themes functions.php that might interfere.
 * Downgrading your WordPress to 4.9 could i think be an option if you have a database
   backup from before the upgrade to WP 5, then you would be sure that you could
   undo any changes that might have been made on WP 5 becoming active. I do all 
   my database backups and restores via phpMyAdmin.
 * I myself made the choice to stay put on the most recent version of WP 4.9 ([https://wordpress.org/download/releases/](https://wordpress.org/download/releases/))
   for the time being and use Classic Editor 0.5.
    -  This reply was modified 7 years, 3 months ago by Anonymous User 9105421.
 *  [djparker](https://wordpress.org/support/users/djparker/)
 * (@djparker)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10997344)
 * From what I can see this is an incompatibility issue with WordPress 5.0+
 * I disabled all plugins except Classic Editor, enable debug logs and tested some
   older versions of the plugin.
    Versions of Classic editor <0.5 will work with
   WP 5.0 but do not give the same user experience. With Classic Editor 0.5+ I get
   the following log messages:
 *     ```
       PHP Notice:  edit_form_after_title is <strong>deprecated</strong> since version 5.0.0! Use block_editor_meta_box_hidden_fields instead. This action is still supported in the classic editor, but is deprecated in the block editor.
       PHP Notice:  edit_form_advanced is <strong>deprecated</strong> since version 5.0.0! Use block_editor_meta_box_hidden_fields instead. This action is still supported in the classic editor, but is deprecated in the block editor.
       ```
   
 * I’ve not attempted to fix the PHP code as yet.
 *  [djparker](https://wordpress.org/support/users/djparker/)
 * (@djparker)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10997549)
 * Everything so far is pointing to breaking changes with the WP5.0+ new block editor.
   I’ve experienced similar issues with a number of plugins now and have reverted
   WP back to v.4.9.8.
    I guess we’ll have to wait a while to see what the resolution
   to these issues are, whether this will be a change in WP core or all plugin authors
   will have to work around these issues. I’ll be sticking on v.4.9.8 for some time
   to come I’d imagine.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10998515)
 * [@djparker](https://wordpress.org/support/users/djparker/) thanks for your input,
   maybe it helps the plugin author to find what could be going wrong. It at least
   shows that your problem starts occurring in combination with the 0.5+ versions
   of the plugin but as only so few people seem to have this specific issue it is
   not a issue between only Classic Editor and WP 5 otherwise 1.000.000+ people 
   would have the problem so its a more complicated to pinpoint combination of things
   in some peoples setups.
 * What your PHP deprecated notices sadly do show is how fast the WP 4.9 and WP 
   5.0 worlds are drifting apart :_–_(
 * BTW as you reverted to WP 4.9.8 you could also update to WP 4.9.9:
    [https://wordpress.org/download/releases/](https://wordpress.org/download/releases/)
 * It has a couple of recent security fixes:
    [https://codex.wordpress.org/Version_4.9.9](https://codex.wordpress.org/Version_4.9.9)
 * I updated to it myself manually via FTP, updating via the dashboard probably 
   only ends up in getting WP 5. If someone also wants to do a manual upgrade then
   be careful!!!, backup and not everything should be deleted/overwritten: [https://codex.wordpress.org/Upgrading_WordPress](https://codex.wordpress.org/Upgrading_WordPress)
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-10998634)
 * BTW for anybody having this problem: switching themes might also be something
   to try, to exclude there being problem with that.
 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-11007129)
 * As @damsko pointed out above, there is _something_ that is trying to use the `
   edit_form_after_title` and `edit_form_advanced`filters when it shouldn’t. As 
   all plugins are disabled, the culprit is probably the theme, or some sort of “
   hack” you may have added some time ago and forgot about. Another possibility 
   is a “helper” plugin in the`mu-plugins` directory. Finally, your production site
   should be set to hide PHP notices, unless you also use it for testing 🙂
    -  This reply was modified 7 years, 3 months ago by [Andrew Ozz](https://wordpress.org/support/users/azaozz/).
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-11018534)
 * It might be an option for some to look if the “Disable Gutenberg” plugin could
   do the job for them without the conflicts that they are now experiencing when
   using the Classic Editor plugin. The Disable Gutenberg plugin has the same functionality
   and that is to disable the block editor and restore the classic editor:
    [https://wordpress.org/plugins/disable-gutenberg/](https://wordpress.org/plugins/disable-gutenberg/)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Update post error’ is closed to new replies.

 * ![](https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671)
 * [Classic Editor](https://wordpress.org/plugins/classic-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/classic-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/classic-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/classic-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/classic-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/classic-editor/reviews/)

## Tags

 * [edit-post](https://wordpress.org/support/topic-tag/edit-post/)
 * [post update](https://wordpress.org/support/topic-tag/post-update/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 10 replies
 * 4 participants
 * Last reply from: Anonymous User 9105421
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/update-post-error/#post-11018534)
 * Status: not resolved