Fatal error: Uncaught Functional\Exceptions\InvalidArgumentException: Functional\flatten() expects parameter 1 to be array or instance of Traversable, integer given in /var/www/vhosts/1a-football.de/httpdocs/includes/vendor/lstrojny/functional-php/src/Functional/Exceptions/InvalidArgumentException.php:272
Stack trace:
#0 /var/www/vhosts/1a-football.de/httpdocs/includes/vendor/lstrojny/functional-php/src/Functional/Exceptions/InvalidArgumentException.php(70): Functional\Exceptions\InvalidArgumentException::assertCollectionAlike()
#1 /var/www/vhosts/1a-football.de/httpdocs/includes/vendor/lstrojny/functional-php/src/Functional/Flatten.php(26): Functional\Exceptions\InvalidArgumentException::assertCollection()
#2 /var/www/vhosts/1a-football.de/httpdocs/includes/src/News/Category.php(300): Functional\flatten()
#3 /var/www/vhosts/1a-football.de/httpdocs/includes/src/News/Controller.php(214): JTL\News\Category->getOverview()
#4 /var/www/vhosts/1a-football.de/httpdocs/news.php(81): JTL\News\Controller->displayOverview()
#5 {main}
thrown in /var/www/vhosts/1a-football.de/httpdocs/includes/vendor/lstrojny/functional-php/src/Functional/Exceptions/InvalidArgumentException.php on line 272