Fatal error: Uncaught TypeError: Return value of Repository\ArticleRepository::getLastChapter() must be of the type array, bool returned in /home/data/www/wwwroot/31xs/wwwroot/web_pc_php/src/Repository/ArticleRepository.php:151
Stack trace:
#0 /home/data/www/wwwroot/31xs/wwwroot/web_pc_php/src/Repository/ArticleRepository.php(47): Repository\ArticleRepository->getLastChapter()
#1 /home/data/www/wwwroot/31xs/wwwroot/web_pc_php/App/sitemaps.php(31): Repository\ArticleRepository->findById()
#2 {main}
thrown in /home/data/www/wwwroot/31xs/wwwroot/web_pc_php/src/Repository/ArticleRepository.php on line 151