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 C:\php\google-api-php-client\src\Google\Model.php on line 249
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 C:\php\google-api-php-client\src\Google\Model.php on line 254
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 C:\php\google-api-php-client\src\Google\Model.php on line 261
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 C:\php\google-api-php-client\src\Google\Model.php on line 271
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 C:\php\google-api-php-client\src\Google\Collection.php on line 24
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 C:\php\google-api-php-client\src\Google\Collection.php on line 40
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 C:\php\google-api-php-client\src\Google\Collection.php on line 32
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 C:\php\google-api-php-client\src\Google\Collection.php on line 45
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 C:\php\google-api-php-client\src\Google\Collection.php on line 16
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 C:\php\google-api-php-client\src\Google\Collection.php on line 51
Deprecated: Creation of dynamic property Google_Service_YouTube::$serviceName is deprecated in C:\php\google-api-php-client\src\Google\Service\YouTube.php on line 84
Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in C:\php\google-api-php-client\src\Google\Http\REST.php:173
Stack trace:
#0 C:\php\google-api-php-client\src\Google\Http\REST.php(173): implode(Array, '&')
#1 C:\php\google-api-php-client\src\Google\Service\Resource.php(188): Google_Http_REST::createRequestUri('youtube/v3/', 'search', Array)
#2 C:\php\google-api-php-client\src\Google\Service\YouTube.php(3752): Google_Service_Resource->call('list', Array, 'Google_Service_...')
#3 D:\lcm.com\live_broadcast_now.php(41): Google_Service_YouTube_Search_Resource->listSearch('id,snippet', Array)
#4 {main}
thrown in C:\php\google-api-php-client\src\Google\Http\REST.php on line 173