Error: Call to undefined method Error::get(): Non-static method Joomla\CMS\Application\SiteApplication::getMenu() cannot be called statically