Hi, I updated from 3.6 to 3.7. On a template I used the pages() helper, it now throws this error:
Passing a single id to the pages()
helper will return a Kirby\Cms\Pages collection with a single element instead of the single Kirby\Cms\Page object itself - starting in 3.7.0.
<?php $wimmelbildseiten = pages(['wimmelbild-probleme', 'wimmelbild-loesungen']);
foreach ($wimmelbildseiten as $wimmelbildseite): ?>
...
<?php endforeach?>
If I change the pages() helper into the page() helper it works, even I passed two IDs. It should be a collection.