- Issue created by @joachim
In viewSchedule() we have this:
$collections = $this->dataProvider->getCollections($uprn);
if something went wrong with the retrieval of the data, this will be empty -- there is a check for that further down.
But before we get to that, if public holidays are enabled, there's an access of a property on the array -- which could be empty:
if ($this->config->get('public_holidays')) {
$publicHolidays = $this->publicHolidays->getPublicHolidays();
foreach ($collections["dates"] as $key => $values) {
This will produce a warning.
Active
1.0
Code