Warning: session_start(): open(/var/opt/bl831/php84/lib/php/session/sess_920c985ba3f2e0fbc8652af4cdc116fb, O_RDWR) failed: No such file or directory (2) in /home/mcfuser/public_html/google-api-php-client/examples/service-account.php on line 17
Warning: session_start(): Failed to read session data: files (path: /var/opt/bl831/php84/lib/php/session) in /home/mcfuser/public_html/google-api-php-client/examples/service-account.php on line 17 Service Account Access
Warning: You need to set Client ID, Email address and the location of the Key from the
Google API console
Deprecated: Return type of Google_Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Model.php on line 235
Deprecated: Return type of Google_Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Model.php on line 240
Deprecated: Return type of Google_Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Model.php on line 247
Deprecated: Return type of Google_Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Model.php on line 257
Deprecated: Return type of Google_Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Collection.php on line 22
Deprecated: Return type of Google_Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Collection.php on line 38
Deprecated: Return type of Google_Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Collection.php on line 30
Deprecated: Return type of Google_Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Collection.php on line 43
Deprecated: Return type of Google_Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Collection.php on line 14
Deprecated: Return type of Google_Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcfuser/public_html/google-api-php-client/src/Google/Collection.php on line 49
Deprecated: Creation of dynamic property Google_Service_Books::$serviceName is deprecated in /home/mcfuser/public_html/google-api-php-client/src/Google/Service/Books.php on line 67
Fatal error: Uncaught ValueError: Path must not be empty in /home/mcfuser/public_html/google-api-php-client/examples/service-account.php:65
Stack trace:
#0 /home/mcfuser/public_html/google-api-php-client/examples/service-account.php(65): file_get_contents('')
#1 {main}
thrown in /home/mcfuser/public_html/google-api-php-client/examples/service-account.php on line 65