postnl-api-php
postnl-api-php copied to clipboard
Undefined property: stdClass::$Events
It seems like "Events" can be undefined when requesting PostNL status. One hell of an API for a company this size.
07:52:40 ERROR [carrier] Warning: Undefined property: stdClass::$Events
[
"exception" => ErrorException {
#message: "Warning: Undefined property: stdClass::$Events"
#code: 0
#file: "./vendor/firstred/postnl-api-php/src/Service/ResponseProcessor/Rest/ShippingStatusServiceRestResponseProcessor.php"
#line: 142
#severity: E_WARNING
trace: {
./vendor/firstred/postnl-api-php/src/Service/ResponseProcessor/Rest/ShippingStatusServiceRestResponseProcessor.php:142 { …}
./vendor/firstred/postnl-api-php/src/Service/ShippingStatusService.php:273 { …}
./vendor/firstred/postnl-api-php/src/PostNL.php:1757 { …}