Deprecated: Return type of Office365\Runtime\ClientObjectCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cifa/vendor/vgrem/php-spo/src/Runtime/ClientObjectCollection.php on line 287
Deprecated: Return type of Office365\Runtime\ClientObjectCollection::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/cifa/vendor/vgrem/php-spo/src/Runtime/ClientObjectCollection.php on line 324
Deprecated: Return type of Office365\Runtime\ClientObjectCollection::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/cifa/vendor/vgrem/php-spo/src/Runtime/ClientObjectCollection.php on line 337
Deprecated: Return type of Office365\Runtime\ClientObjectCollection::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/cifa/vendor/vgrem/php-spo/src/Runtime/ClientObjectCollection.php on line 351
Deprecated: Return type of Office365\Runtime\ClientObjectCollection::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/cifa/vendor/vgrem/php-spo/src/Runtime/ClientObjectCollection.php on line 367
Deprecated: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated in /home/cifa/vendor/vgrem/php-spo/src/Runtime/Auth/AuthenticationContext.php on line 149
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cifa/vendor/vgrem/php-spo/src/Runtime/Http/Requests.php on line 137
Fatal error: Uncaught Office365\Runtime\Http\RequestException: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"it-IT","value":"Attempted to perform an unauthorized operation."}}} in /home/cifa/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php:214
Stack trace:
#0 /home/cifa/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php(170): Office365\Runtime\ClientRequest->validate(Object(Office365\Runtime\Http\Response))
#1 /home/cifa/vendor/vgrem/php-spo/src/Runtime/OData/ODataRequest.php(142): Office365\Runtime\ClientRequest->executeQueryDirect(Object(Office365\Runtime\Http\RequestOptions))
#2 /home/cifa/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php(149): Office365\Runtime\OData\ODataRequest->executeQueryDirect(Object(Office365\Runtime\Http\RequestOptions))
#3 /home/cifa/vendor/vgrem/php-spo/src/Runtime/ClientRuntimeContext.php(96): Office365\Runtime\ClientRequest->executeQuery()
#4 /home/cifa/public_html/phplib/sharepoint.php(46): Office365\Runtime\ClientRuntimeContext->executeQuery()
#5 /home/cifa/public_html/inc/header.php(38): elenco_media_sharepoint('DEALER ALL/MACH...')
#6 /home/cifa/public_html/es/cookie.php(31): include('/home/cifa/publ...')
#7 {main}
thrown in /home/cifa/vendor/vgrem/php-spo/src/Runtime/ClientRequest.php on line 214