TypeError: Cannot assign null to property Foodsharing\Modules\Foodsaver\DTO\FoodsaverForAvatar::$id of type int
Sentry Issue: FOODSHARINGDE-PROD-BACKEND-28Z
TypeError: Cannot assign null to property Foodsharing\Modules\Foodsaver\DTO\FoodsaverForAvatar::$id of type int
File "/src/Modules/Foodsaver/DTO/FoodsaverForAvatar.php", line 45, in Foodsharing\Modules\Foodsaver\DTO\FoodsaverForAvatar::createFromArray
$obj->id = $data[$keys['id']];
File "/src/Modules/WallPost/DTO/WallPost.php", line 52, in Foodsharing\Modules\WallPost\DTO\WallPost::createFromArray
$result->author = FoodsaverForAvatar::createFromArray($data, ['id' => 'foodsaver_id']);
File "/src/Modules/WallPost/WallPostGateway.php", line 67, in Foodsharing\Modules\WallPost\WallPostGateway::getPosts
return array_map([WallPost::class, 'createFromArray'], $posts);
File "/src/RestApi/WallRestController.php", line 51, in Foodsharing\RestApi\WallRestController::getPosts
$posts = $this->wallPostGateway->getPosts($target, $targetId, $limit);
File "/public/index.php", line 34
$response = $kernel->handle($request);
...
(4 additional frame(s) were not displayed)