Error: Call to undefined method Joomla\CMS\Document\RawDocument::getHeadData(): Application not found