Error: Call to undefined method Joomla\CMS\Document\FeedDocument::isHtml5(): mysqli object is already closed