PHP Fatal error: preg_replace()
-
Checking to see if I should create a bug report. I searched and didn't find related discussion.
Trying to navigate to Active Rules for an interface yields a blank (white) page.
I have a Netgate 4200 MAX, 26.03-RELEASE (amd64).
In Global Settings I have Snort VRT with code, Enable ET Open, Enable OpenAppID + Text Rules, Enable FEODO Tracker Botnet C2 IP Rules
Services / Snort Interface Settings / PORT1WAN - Categories
- Resolve Flowbits
- Use IPS Policy : Security
Mode : Policy
Services / Snort Interface Settings / PORT1WAN - Rules
- Trying to view the Available Rule Categories, selecting Active Rules causes a momentary spin, then a blank page.
Then on the dashboard there is an error report link:
Crash report begins. Anonymous machine information: amd64 16.0-CURRENT FreeBSD 16.0-CURRENT #36 plus-RELENG_26_03-n256531-4923e82e59d1: Fri Mar 20 18:22:49 UTC 2026 root@pfsense-build-release-amd64-1.eng.atx.netgate.com:/var/jenkins/workspace/pfSense-Plus-snapshots-26_03-main/obj/amd64/TVcqnR7U/var/jenkins/workspace/pfSe Crash report details: PHP Errors: [09-May-2026 11:35:01 US/Central] PHP Fatal error: preg_replace(): Cannot use output buffering in output buffering display handlers in /usr/local/www/csrf/csrf-magic.php on line 163 Stack trace: #0 /usr/local/www/csrf/csrf-magic.php(163): preg_replace() #1 [internal function]: csrf_ob_handler() #2 {main} No FreeBSD crash data found. -
This is likely a symptom exhausting PHP's available memory and not an issue specifically with the package. See the following for related discussion:
https://forum.netgate.com/topic/189202/suricata-php-error
Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.