WP Contact Form Error: ModSecurity PCRE Limits
-
Hi everyone,
I’m facing a recurring issue with my WordPress contact form on STRATO WordPress Basic Hosting. The Problem
My contact form sporadically shows “An error occurred” on submission. Emails are sent, but users don’t get confirmation, leading to duplicate submissions. Form submission is also unusually slow.Crucial Finding from STRATO Server Logs
I checked my STRATO server logs for the last error (June 16, 2025, 13:13 CEST / 11:13 UTC) and found this critical entry:
16.06.2025 13:13:06 websitename [client 217.24.96.0] ModSecurity: Rule 254ae00 [id "340157"][file "/opt/RZapache/conf/rules/10_asl_rules.conf"][line "393"] - Execution error - PCRE limits exceeded (-8): (null). [hostname "amadee.de"] [uri "/wp-admin/admin-ajax.php"] [unique_id "aE_8QgyEgxZFYxqcZTkmMAACjQs"]This indicates ModSecurity blocked the form submission because its internal PCRE (regular expression) processing limits were exceeded. This likely happened due to complex or lengthy user input, causing the AJAX request to
/wp-admin/admin-ajax.phpto fail.My Challenge & QuestionSTRATO support has informed me they cannot make server-side adjustments to ModSecurity rules or limits for my basic hosting package.
Has anyone experienced similar ModSecurity limit issues on STRATO hosting with contact forms or AJAX requests? What are the possible workarounds or alternative solutions if the host won’t adjust server settings?
Thanks for any help!
The page I need help with: [log in to see the link]
The topic ‘WP Contact Form Error: ModSecurity PCRE Limits’ is closed to new replies.