Title: Edit button produces error
Last modified: July 19, 2025

---

# Edit button produces error

 *  [cousineddie](https://wordpress.org/support/users/cousineddie/)
 * (@cousineddie)
 * [9 months ago](https://wordpress.org/support/topic/edit-button-produces-error/)
 * Hi all, I have an issue where I noticed that if I click a page or a post ‘edit’
   link directly in my WP Admin it is taking me to a page that loads with an error“
   There has been a critical error on this website. Please check your site admin
   email inbox for instructions. If you continue to have problems, please try the
   [support forums](https://wordpress.org/support/forums/).” The only other things
   I see on the page/s are a ‘choose icon’, ‘title’ and ‘description’ boxes. An 
   example is [Edit Page “Computer Repair Services Clovelly Park 5042 | Southern Computer Services SA” ‹ Southern Computer Services SA — WordPress](https://southerncomputerservices.com.au/wp-admin/post.php?post=7396&action=edit)–
   I have reinstalled the classic editor plugin, tried disabling some other plugins
   which might be causing the issue, updating WP Rocket to latest version, reinstalling
   WP, but I still have the same issue? Hoping someone can help? Thanks

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [9 months ago](https://wordpress.org/support/topic/edit-button-produces-error/#post-18562242)
 * The reason for the error should be visible in the error log. You can find it 
   in your hosting area. If necessary, the support of your hosting can help you.
 * Alternatively, you could also enable debugging in WordPress. How to do this is
   described here: [https://wordpress.org/support/article/debugging-in-wordpress/](https://wordpress.org/support/article/debugging-in-wordpress/)–
   also here the support of your hosting can help you if necessary to edit the file
   accordingly.
 * In both cases you should be able to see what the cause is in the logfile.
 *  Thread Starter [cousineddie](https://wordpress.org/support/users/cousineddie/)
 * (@cousineddie)
 * [9 months ago](https://wordpress.org/support/topic/edit-button-produces-error/#post-18562272)
 * Thanks, so I set the debugging after trying a restore or 2 from backup, but can’t
   see anything obvious in the output file that suggests what the issue may be? 
   I did speak to my hosting support first who suggested the restore option and 
   failing that disabling plugins. If I try this suggestion could that break my 
   site?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [9 months ago](https://wordpress.org/support/topic/edit-button-produces-error/#post-18562330)
 * Yes, it would be possible – as with any major operation in the database. Create
   a backup beforehand, preferably using the options provided by your host.
 * However, I find it strange that there are no entries in debug.log or error.log
   regarding the error that occurred. There must be something there. Did you provoke
   the error again so that a new entry would appear in the log file? If nothing 
   appears, either a special error log is active in your hosting (which your host’s
   support team would have to clarify) or you are looking for the error in the wrong
   hosting.
 *  [Rhaynon S](https://wordpress.org/support/users/ron07/)
 * (@ron07)
 * [9 months ago](https://wordpress.org/support/topic/edit-button-produces-error/#post-18565186)
 * It’s possible that the active theme is conflicting with WordPress or some of 
   your plugins. Try switching to a default WordPress theme (like Twenty Twenty-
   One) temporarily:
   Go to Appearance > Themes in the WordPress Admin.Activate a
   default theme.Check if you can edit the page again.If it works after switching
   the theme, the issue is likely with your original theme.you could also try thisOpen
   your wp-config.php file and add the following line before the line that says /*
   That’s all, stop editing! Happy blogging. */:
 * define(‘WP_MEMORY_LIMIT’, ‘256M’);
 * Save the file and see if this resolves the issue.

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

The topic ‘Edit button produces error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Rhaynon S](https://wordpress.org/support/users/ron07/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/edit-button-produces-error/#post-18565186)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
