MyBB Community Forums

Full Version: Error messages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Getting these error messages when I look at a post on a forum

The following warnings occurred:  
Warning [2] preg_replace() [function.preg-replace]: Unknown modifier '\' - Line: 321 - File: inc/class_parser.php PHP 5.2.8 (Linux)
File Line Function 
[PHP]   errorHandler->error 
/inc/class_parser.php 321 preg_replace 
/inc/class_parser.php 143 postParser->parse_mycode 
/inc/functions_post.php 529 postParser->parse_message 
/showthread.php 799 build_postbit 
Warning [2] preg_replace() [function.preg-replace]: Unknown modifier '\' - Line: 321 - File: inc/class_parser.php PHP 5.2.8 (Linux)
File Line Function 
[PHP]   errorHandler->error 
/inc/class_parser.php 321 preg_replace 
/inc/class_parser.php 143 postParser->parse_mycode 
/inc/functions_post.php 558 postParser->parse_message 
/showthread.php 799 build_postbit 
Warning [2] preg_replace() [function.preg-replace]: Unknown modifier '\' - Line: 321 - File: inc/class_parser.php PHP 5.2.8 (Linux)
File Line Function 
[PHP]   errorHandler->error 
/inc/class_parser.php 321 preg_replace 
/inc/class_parser.php 143 postParser->parse_mycode 
/inc/functions_post.php 529 postParser->parse_message 
/showthread.php 799 build_postbit 
Warning [2] preg_replace() [function.preg-replace]: Unknown modifier '\' - Line: 321 - File: inc/class_parser.php PHP 5.2.8 (Linux)
File Line Function 
[PHP]   errorHandler->error 
/inc/class_parser.php 321 preg_replace 
/inc/class_parser.php 143 postParser->parse_mycode 
/inc/functions_post.php 558 postParser->parse_message 
/showthread.php 799 build_postbit 

Oh, and I replaced the class_parser.php file as well with the one other members are using and it is the same issue.
Installed any plugins or edited any files??
None at all. There is the youtube plugin there but it has never been used and it has also been disabled.
Do you have any other custom MyCodes added?
None at all.
Try removing the youtube plugin and see if that fixes it.
Don't see how that would fix it if it was working perfectly fine before hand. The youtube plugin is totally disabled and has now been removed. Same issue remains. I have even re-created the account on the server, same issue.