Deprecated: Return type of Thybag\Auth\SharePointOnlineAuth::__doRequest($request, $location, $action, $version, $one_way = false) should either be compatible with SoapClient::__doRequest(string $request, string $location, string $action, int $version, bool $oneWay = false): ?string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tsaambe/public_html/Thybag/Auth/SharePointOnlineAuth.php on line 17
Deprecated: Return type of Thybag\Auth\SoapClientAuth::__doRequest($request, $location, $action, $version, $one_way = 0) should either be compatible with SoapClient::__doRequest(string $request, string $location, string $action, int $version, bool $oneWay = false): ?string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tsaambe/public_html/Thybag/Auth/SoapClientAuth.php on line 84
Warning: Undefined array key "ReturnTo" in /home/tsaambe/public_html/PushToSharepoint.php on line 13
Warning: Undefined property: Thybag\Auth\SharePointOnlineAuth::$_login in /home/tsaambe/public_html/Thybag/Auth/SharePointOnlineAuth.php on line 78
Warning: Undefined property: Thybag\Auth\SharePointOnlineAuth::$_password in /home/tsaambe/public_html/Thybag/Auth/SharePointOnlineAuth.php on line 79
Fatal error: Uncaught TypeError: Exception::__construct(): Argument #2 ($code) must be of type int, string given in /home/tsaambe/public_html/Thybag/Auth/SharePointOnlineAuth.php:100
Stack trace:
#0 /home/tsaambe/public_html/Thybag/Auth/SharePointOnlineAuth.php(100): Exception->__construct('AADSTS500127: N...', '0x80048821')
#1 /home/tsaambe/public_html/Thybag/Auth/SharePointOnlineAuth.php(20): Thybag\Auth\SharePointOnlineAuth->configureAuthCookies(Array)
#2 [internal function]: Thybag\Auth\SharePointOnlineAuth->__doRequest('<?xml version="...', 'https://tsaam.s...', 'http://schemas....', 1, false)
#3 /home/tsaambe/public_html/Thybag/SharePointAPI.php(444): SoapClient->__call('GetListItems', Array)
#4 /home/tsaambe/public_html/PushToSharepoint.php(109): Thybag\SharePointAPI->read('Inschrijvingen ...')
#5 {main}
thrown in /home/tsaambe/public_html/Thybag/Auth/SharePointOnlineAuth.php on line 100