Uh-oh!

$html var should be a string. Passed:NULL