Error When Saving Theme Options:
Error Message:
“There was a problem with your action. Please try again or reload the page.”
How to Resolve This Issue
If you encounter this error while saving Theme Options, please check the following:
Test with a Clean Theme and Default Demo Options
- Switch to the default theme version without any customizations or extra demo options loaded.
- If the error persists, it may be caused by server security settings.
Check Server Security Settings (ModSecurity)
- This issue is often related to your server’s security module (ModSecurity) blocking admin-ajax requests.
- Contact your hosting provider and ask them to review the ModSecurity rules for admin-ajax.php and ensure that the server permits writing operations triggered by this script.
Review Custom CSS
- If you recently added custom CSS before the error appeared, temporarily remove it.
- Invalid or malformed CSS can prevent saving Theme Options.
- After removing the custom CSS, try saving again.