Title: 500 server error when saving changes
Last modified: February 1, 2021

---

# 500 server error when saving changes

 *  Resolved [Nita Peterson](https://wordpress.org/support/users/ncorum/)
 * (@ncorum)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/500-server-error-when-saving-changes/)
 * I can’t save changes to my website when Wordfence is active. I get an error message
   with a 500 server error. I’ve uninstalled Wordfence and deleted the tables with
   the Wordfence Assistant plugin and then reinstalled Wordfence. Same problem. 
   Please advise.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F500-server-error-when-saving-changes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/500-server-error-when-saving-changes/#post-13991252)
 * Hi [@ncorum](https://wordpress.org/support/users/ncorum/), thanks for your question
   and sorry to see you’re having trouble after installing/reinstalling Wordfence.
 * This at first glance looks like a case for [Learning Mode](https://www.wordfence.com/help/firewall/learning-mode/),
   although this is usually turned on after a fresh installation. From the **Wordfence
   Dashboard** click on **Manage WAF**. Then you will see **Basic Firewall Options
   > Web Application Firewall Status**. Change the option to **Learning Mode**. 
   This will help Wordfence learn that any actions during this time are normal and
   it will allow them in the future.
 * During this time, try to edit and save some changes as before.
 * Afterwards, switch the WAF from Learning Mode back to **Enabled and Protecting**.
 * If this approach doesn’t work, when inspecting the [browser console](https://www.wordfence.com/help/advanced/troubleshooting/#how-to-inspect-the-browser-console),
   are there any red errors or failed script/page loads reported?
 * If so, you could try disabling all plugins except for Wordfence and try again.
   You could also try switching to a default theme such as Twenty Twenty during 
   this time as themes can also cause script conflicts. If you’re able to save successfully
   with just Wordfence enabled, reactivate each of your other plugins until the 
   error reoccurs, identifying the troublemaker.
 * If you want to use screenshots to illustrate any errors directly, please try 
   [Snipboard](https://snipboard.io/) which will provide you with links to paste
   here for me.
 * Thanks,
 * Peter.
 *  Thread Starter [Nita Peterson](https://wordpress.org/support/users/ncorum/)
 * (@ncorum)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/500-server-error-when-saving-changes/#post-13993576)
 * Thanks, Peter. I did as you suggested. I tested it on a new page and I could 
   save my changes with all the plugins activated as well as Wordfence. However,
   I can’t save my homepage changes. I did look at the console and see some red 
   when I try to save that page. Here’s the screenshot:
    [https://snipboard.io/QSAWGi.jpg](https://snipboard.io/QSAWGi.jpg)
 * Does this mean anything to you?
 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/500-server-error-when-saving-changes/#post-13996111)
 * Hi [@ncorum](https://wordpress.org/support/users/ncorum/), because there are 
   a couple of error 500s in there, it _could_ be a similar issue that again needs
   to be allowed through with Learning Mode. If you try to specifically edit the
   homepage, there may be additional scripts that need to be allowed.
 * Did disabling plugins or your theme yield any positive results as they’re normally
   the source of additional script errors?
 * Thanks again,
 * Peter.

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

The topic ‘500 server error when saving changes’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [500 server error](https://wordpress.org/support/topic-tag/500-server-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/500-server-error-when-saving-changes/#post-13996111)
 * Status: resolved