MyBB Community Forums

Full Version: [Correction] Some posts missing after upgrading to 1.8.28
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Your article on temporarily disabling the validation which is causing this issue said

Quote:Parser output validation is a security feature added in MyBB 1.8.27, and can be temporarily disabled by modifying the inc/class_parser.php file, and changing the $output_validation_policy value to VALIDATION_REPORT_ONLY:

public $output_validation_policy = VALIDATION_REPORT_ONLY;

What actually worked was

public $output_validation_policy = self::VALIDATION_REPORT_ONLY;

In my case, reverting to default mybb theme fixed the issue. None of the custom themes seemed to work.
Had to disable validation till custom themes are on the same page
My guess is that its from how they parse custom mycode

Update: The source of the issue for me was <img> instead of <img /> in a template I'd edited. That little oversight took down entire posts Smile
Guess the custom themes weren't the source after all
Thanks, we fixed the Docs article, and added a list of templates that may be likely causing problems.