JError::raise -> Static method JError::handle does not exist. Contact a developer to debug
Error was
Call to undefined method Joomla\CMS\Document\RawDocument::addCustomTag()