Plesk

Error in Apache logs: “ModSecurity: JSON support was not enabled”

Symptoms

ModSecurity: JSON support was not enabled [hostname "example.com"] [uri "/wp-json/notificationx/v1/notice/"] [unique_id "Y@ELjOjkojqzjiuIAB6puAAAANA"]

Cause

The ModSecurity package provided by Plesk does not have built-in JSON support.

The bug is fixed in Plesk 18.0.51.

Resolution

Consider updating Plesk to the latest version.