Warning: Undefined array key "VOTE_THANK_YOU_PAGE_CRAFT_ENTRY_ID" in /var/www/html/app/bootstrap.php on line 40
Warning: Undefined array key "SETTINGS_CRAFT_GLOBAL_ID" in /var/www/html/app/bootstrap.php on line 44
Warning: session_name(): Session name cannot be changed after headers have already been sent in /var/www/html/app/src/models/Session.php on line 79
Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /var/www/html/app/src/models/Session.php on line 80
Warning: session_start(): Session cannot be started after headers have already been sent in /var/www/html/app/src/models/Session.php on line 88
Fatal error: Uncaught RuntimeException: Invalid CSRF storage. Use session_start() before instantiating the Guard middleware or provide array storage. in /var/www/html/vendor/slim/csrf/src/Guard.php:152
Stack trace:
#0 /var/www/html/vendor/slim/csrf/src/Guard.php(128): Slim\Csrf\Guard->setStorage(NULL)
#1 /var/www/html/app/app.php(107): Slim\Csrf\Guard->__construct(Object(Slim\Http\Factory\DecoratedResponseFactory), 'csrf', NULL, NULL, 200, 16, true)
#2 /var/www/html/vendor/pimple/pimple/src/Pimple/Container.php(122): {closure}(Object(Pimple\Container))
#3 /var/www/html/vendor/pimple/pimple/src/Pimple/Psr11/Container.php(48): Pimple\Container->offsetGet('csrf')
#4 /var/www/html/app/routes.php(34): Pimple\Psr11\Container->get('csrf')
#5 /var/www/html/vendor/slim/slim/Slim/Routing/RouteGroup.php(67): Closure->{closure}(Object(Slim\Routing\RouteCollectorProxy))
#6 /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php(236): Slim\Routing\RouteGroup->collectRoutes()
#7 /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollectorProxy.php(179): Slim\Routing\RouteCollector->group('/vote', Object(Closure))
#8 /var/www/html/app/routes.php(8): Slim\Routing\RouteCollectorProxy->group('/vote', Object(Closure))
#9 /var/www/html/app/app.php(296): require('/var/www/html/a...')
#10 /var/www/html/public/index.php(36): require('/var/www/html/a...')
#11 {main}
thrown in /var/www/html/vendor/slim/csrf/src/Guard.php on line 152