2024-03-05, 07:15 AM
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);":
Then the output I get:
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?
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?