Notice: Undefined index: credential in /data/app/myquickreg/www/cesa/register/signin_with_google.php on line 16

Fatal error: Uncaught LogicException: id_token must be passed in or set as part of setAccessToken in /data/app/myquickreg/www/Libraries/google-api-php-client/src/Client.php:806 Stack trace: #0 /data/app/myquickreg/www/cesa/register/signin_with_google.php(19): Google\Client->verifyIdToken(NULL) #1 {main} thrown in /data/app/myquickreg/www/Libraries/google-api-php-client/src/Client.php on line 806