Here we discuss WordPress plugin Elementor giving Server Error 406 when updating a page within the editor. This article will show you how to access cPanel and disable ModSecurity to clear the error.
Related Articles
Enable/Disable ModSecurity Using cPanel
Create a New Page with Elementor
Disabling ModSecurity in cPanel
- Log into cPanel for the domain experiencing the error
- Click on ModSecurity in the Security area
- Locate the domain you are experiencing this error on
- Toggle the Status to Off
- Attempt to update the needed page with Elementor to determine if the 406 error is still occurring
IMPORTANT: It is not recommended to disable ModSecurity for long periods of time. This can leave the site vulnerable to attack. If you are not sure whether or not disabling this feature is the best option, please contact Technical Support for further assistance.
Checking Apache Logs
IMPORTANT: This solution will require root access. If this needs to be obtained, follow the guide on requesting root access.
- If the error persists, the Apache error logs can be checked through the server's terminal
- Login to Root WHM
- Search for Terminal using the search bar near the top left of the page
- Open Terminal under Server Configuration
- In the terminal, run the following command
tail -f /usr/local/apache/logs/error_log | grep DOMAIN.COM
REPLACE: DOMAIN.COM with the site's domain name. - Recreate the 406 error in Elementor
- Go back to the terminal, where a more detailed error message regarding the 406 error should now be displayed
NOTE: This will not fix the error but will give a good indication of why the error is occurring. Further steps will need to be taken to resolve the error. If unsure of how to proceed, contact support for further assistance.
Comments
0 comments
Article is closed for comments.