Call to a member function setHtml5() on null