When editing the menu in customizer the changes failed to save with the error message:
Looks like something’s gone wrong. Wait a couple seconds, and then try again.

And when inspecting the page the following error appears:
POST http://plugins.club/wp-admin/admin-ajax.php 403 (Forbidden)

The 403 error is caused by something blocking access to the file such as ModSecurity in cPanel, a rule inside the .htaccess file, or insufficient file permissions.
Disable ModSecurity
ModSecurity is known to block custom script execution (e.g. some custom javascript code) so to disable ModSecurity navigate to cPanel > Security

and turn it off for your website:

Disable Security Plugins
Make sure all Security plugins are disabled.

Check .htaccess files
From cPanel > File Manager open the website directory and edit the .htaccess file.

Make sure that there are no rules blocking access to wp-admin folder or files:

Fix file permissions
To fix file permissions open the terminal and enter the website directory, then run:
find -type d -exec chmod 755 {} \;
find -type f | xargs -d$'\n' -r chmod 644
After following these steps you should be able to save changes to the customizer.


Great post. It work for me