Solved: 3 Years, 2 Weeks ago Error message saying # is an "unknown modifier"
#1
Solved: 3 Years, 2 Weeks ago
Error message saying # is an "unknown modifier". after upgrading to latest version (and the one before that).

The line causing the problem is line 659 in class_parser.php:

$message = preg_replace('#'.$badword['badword'].'#is', $badword['replacement'], $message);


Why would I be getting that error message with the latest version of MyBB. I'm running PHP 7.1.

The problem occurs with 1.8.18 and 1.8.19.

This is a standard line of code from MyBB so presumably there is something in my PHP environment that conflicts with this. Any ideas?
Reply


Messages In This Thread
Error message saying # is an "unknown modifier" - by broadsword - 2018-10-09, 09:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)