Fatal error: Uncaught Error: Call to undefined method app\controllers\frontend\IndexController::sitemap.xml() in /home1/marco097/public_html/app/router.php:35
Stack trace:
#0 /home1/marco097/public_html/app/router.php(11): genericLoad('index', 'sitemap.xml')
#1 [internal function]: {closure}('sitemap.xml')
#2 /home1/marco097/public_html/vendor/respect/rest/library/Respect/Rest/Routes/Callback.php(44): call_user_func_array(Object(Closure), Array)
#3 /home1/marco097/public_html/vendor/respect/rest/library/Respect/Rest/Request.php(130): Respect\Rest\Routes\Callback->runTarget('GET', Array)
#4 /home1/marco097/public_html/vendor/respect/rest/library/Respect/Rest/Router.php(302): Respect\Rest\Request->response()
#5 /home1/marco097/public_html/vendor/respect/rest/library/Respect/Rest/Router.php(86): Respect\Rest\Router->run()
#6 /home1/marco097/public_html/vendor/respect/rest/library/Respect/Rest/Router.php(81): Respect\Rest\Router->__toString()
#7 [internal function]: Respect\Rest\Router->__destruct()
#8 {main}
thrown in /home1/marco097/public_html/app/router.php on line 35