Error: Call to undefined method Error::get(): Call to undefined method Joomla\CMS\User\User::authorize()