Notice: Undefined index: DOCUMENT_TOKEN in /var/www/html/estadistica/app/model/AuthDrive.php on line 21

Fatal error: Uncaught InvalidArgumentException: invalid json token in /var/www/html/estadistica/vendor/google/apiclient/src/Google/Client.php:420 Stack trace: #0 /var/www/html/estadistica/app/model/AuthDrive.php(21): Google_Client->setAccessToken(NULL) #1 /var/www/html/estadistica/app/controller/index_controller.php(8): AuthDrive->AuthDrive() #2 /var/www/html/estadistica/app/view/principal.php(2): require_once('/var/www/html/e...') #3 /var/www/html/estadistica/index.php(148): include('/var/www/html/e...') #4 {main} thrown in /var/www/html/estadistica/vendor/google/apiclient/src/Google/Client.php on line 420