Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
406 Not Acceptable Nginx error in cPanel/WHM - PC✗3
406 Not Acceptable Nginx error in cPanel/WHM

406 Not Acceptable Nginx error in cPanel/WHM


406 Not Acceptable Nginx error means that a ModSecurity rule was triggered.

image 34 - 406 Not Acceptable Nginx error in cPanel/WHM

nginx error log:

2022/11/25 09:17:49 [error] 26611#26611: *123 [client 31.3.155.127] ModSecurity: Access denied with code 406 (phase 2). Matched “Operator Ge' with parameter5′ against variable TX:ANOMALY_SCORE' (Value:10′ ) [file “/etc/nginx/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-949-BLOCKING-EVALUATION.conf”] [line “80”] [id “949110”] [rev “”] [msg “Inbound Anomaly Score Exceeded (Total Score: 10)”] [data “”] [severity “2”] [ver “OWASP_CRS/3.3.2”] [maturity “0”] [accuracy “0”] [tag “application-multi”] [tag “language-multi”] [tag “platform-multi”] [tag “attack-generic”] [hostname “1.2.3.4”] [uri “/wp-admin/admin.php”] [unique_id “166938586991.594673”] [ref “”], client: 31.3.155.127, server: stiroporlajsne-aurora.rs, request: “POST /wp-admin/admin.php?page=litespeed-cache HTTP/1.1”, host: “x.rs”, referrer: “https://x.rs/wp-admin/admin.php?page=litespeed-cache”


How to fix 406 Not Acceptable nginx error?

To disable ModSecurity in WHM go to ModSecurity Vendors and disable OWASP:

image 35 1024x517 - 406 Not Acceptable Nginx error in cPanel/WHM

Then restart Nginx.

service nginx restart
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.