Fatal error: Uncaught Error: Call to a member function map() on array in /var/www/picklion.com/data/www/picklion.com/lite/app/Controllers/SitemapController.php:24
Stack trace:
#0 /var/www/picklion.com/data/www/picklion.com/lite/app/Controllers/SitemapController.php(15): App\Controllers\SitemapController->populateCollection()
#1 [internal function]: App\Controllers\SitemapController->index()
#2 /var/www/picklion.com/data/www/picklion.com/lite/vendor/codespikex/lite/Routing/Router.php(425): call_user_func_array()
#3 /var/www/picklion.com/data/www/picklion.com/lite/vendor/codespikex/lite/Routing/Router.php(390): Lite\Routing\Router->invoke()
#4 /var/www/picklion.com/data/www/picklion.com/lite/vendor/codespikex/lite/Routing/Router.php(316): Lite\Routing\Router->handle()
#5 /var/www/picklion.com/data/www/picklion.com/lite/vendor/codespikex/lite/Routing/RouterFactory.php(36): Lite\Routing\Router->run()
#6 /var/www/picklion.com/data/www/picklion.com/lite/vendor/codespikex/lite/Routing/RouterFactory.php(32): Lite\Routing\RouterFa in /var/www/picklion.com/data/www/picklion.com/lite/app/Controllers/SitemapController.php on line 24