CheckToken The CheckToken function used to live in the Input, it now lives in the session. Change your calls to this: Session::checkToken(); and insert a use statement: use Joomla\CMS\Session\Session;