VotingGateway.php - ErrorException: Deprecated: DateTime::createFromFormat(): Passing null to parameter #2 ($datetime) of type string...
Sentry Issue: FOODSHARINGDE-BETA-BACKEND-TM
ErrorException: Deprecated: DateTime::createFromFormat(): Passing null to parameter #2 ($datetime) of type string is deprecated
File "/src/Modules/Voting/VotingGateway.php", line 128, in Foodsharing\Modules\Voting\VotingGateway::getVoteDatetime
$date = DateTime::createFromFormat($format, $value);
File "/src/Modules/Voting/VotingControl.php", line 53, in Foodsharing\Modules\Voting\VotingControl::index
$voteDateTime = $this->votingGateway->getVoteDatetime($poll->id, $this->session->id());
File "/src/Entrypoint/IndexController.php", line 61, in Foodsharing\Entrypoint\IndexController::__invoke
$obj->index($request, $response);
File "/index.php", line 30
$response = $kernel->handle($request);
...
(2 additional frame(s) were not displayed)