Open
Description
This is an error that shows up, using Drupal.
In that case, this method is called: Html::serialize($dom);
, but $dom->nodeValue is null, and its causing the error.
Propose a solution: upcasting fwrite
function with string:
/**
* Write to the output.
*
* @param string $text The string to put into the output
*
* @return $this
*/
protected function wr($text)
{
fwrite($this->out, (string) $text);
return $this;
}
Metadata
Metadata
Assignees
Labels
No labels