If you are getting this type of error “There was a problem with your action. Please try again or reload the page.” like below the screenshot.
There are 3 ways to solve this error
Solution 1 – Fixing 406 Error
First, you need to backup your ‘.htaccess‘ file if you have one in the “wp-admin” directory. Then make a ‘.htaccess‘ file with the following content and upload it to “wp-admin” directory.
SecFilterEngine Off SecFilterScanPOST Off
You can use any text editor such as Notepad to create this file. You will need to upload this ‘.htaccedss file’ to your server.
Solution 2 – Fixing 406 Error
Backup your ‘.htaccess file’ if you have one in the public_html directory.
Open the ‘.htaccess file’ with any text editor and observe the lines between the “# BEGIN WordPress” and “# END WordPress” tags.
Make sure the lines look somewhat like the following. If not then update the file with the following content and upload it to the ‘public_html‘ directory.
# BEGIN WordPressRewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
Solution 3 for – Increase the memory limit
If you are facing “Unable to save the AMP setting” for this you need to increase the memory limit for this you need to follow below the steps
Step 1 – First, you need to login to your Cpanel
Step 2 – In your cPanel, choose MultiPHP INI Editor under the Software section like below the screenshot.
Step 3 – Select the Location in Configure PHP INI basic settings
Step 4 – Go to the PHP Directive memory_limit
Step 5 – Increase the memory size to 512M
Step 6 – Save your changes by clicking the “Apply” button. This will save your configuration.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.