MyBB Community Forums

Full Version: "Parser output validation failed" error, help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After upgrading to newest MyBB version, I am getting the issue from "inc/class_parser.php".

I put the following code right before "$error_handler->error(E_USER_WARNING, $error_message, __FILE__, __LINE__, false);":
echo "error : ", json_encode($error_message)."<br />";

Then the output I get:
error : "Parser output validation failed.\narray (\n 'sourceHtmlEntities' => 'dwdwdw',\n 'outputHtmlEntities' => 'dwdwdw',\n 'errors' => \n array (\n 0 => \n LibXMLError::__set_state(array(\n 'level' => 2,\n 'code' => 73,\n 'column' => 117,\n 'message' => 'Couldn\\'t find end of Start Tag span\n',\n 'file' => '',\n 'line' => 8,\n )),\n ),\n)"


Message content really has nothing other than plain "dwdwdw". But it says that it coudln't find end of Start Tag of <span> but there is no span tag.
How can I fix this? Or, can I just disable this Parser output validation through admin panel?
If you're viewing it in a browser, some HTML may be hidden in page source.

https://docs.mybb.com/1.8/faq/errors/#pa...ion-failed