I’m just learning Kirby as I’m taking over the management of our youth alpine club website.
We have a page which displays an overview of all photo albums of the past trips. Unfortunately it throws the following error:
Fatal error: Uncaught Exception: Invalid grouping value for key: bilder-und-berichte/area-47 in /var/www/virtual/.../htdocs/kirby/core/pages.php:259 Stack trace: #0 /var/www/virtual/.../htdocs/site/templates/berichte.php(7): PagesAbstract->groupBy('year')
What is area-47? To my knowledge there exists no folder or file with this name.
Line 7 is
$years = $page->children()->visible()->sortBy('year', 'DESC')->groupBy('year');
Could anyone help me to get a grip of what’s going wrong there?