Notice: Undefined variable: data in /home/vinta148/vmd/app/controllers/MarketController.php on line 142
Site Error - Vintage Market Days
TypeError: Argument 2 passed to VmdApp\Controllers\BaseController::redirect() must be of the type string, null given, called in /home/vinta148/vmd/app/controllers/MarketController.php on line 142 and defined in /home/vinta148/vmd/app/controllers/BaseController.php:35
Stack trace:
#0 /home/vinta148/vmd/app/controllers/MarketController.php(142): VmdApp\Controllers\BaseController->redirect(Object(Slim\Psr7\Response), NULL)
#1 [internal function]: VmdApp\Controllers\MarketController->tickets(Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), 'nw-arkansas')
#2 /home/vinta148/vmd/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array(Array, Array)
#3 /home/vinta148/vmd/vendor/php-di/slim-bridge/src/ControllerInvoker.php(47): Invoker\Invoker->call(Array, Array)
#4 /home/vinta148/vmd/vendor/slim/slim/Slim/Routing/Route.php(372): DI\Bridge\Slim\ControllerInvoker->__invoke(Array, Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array)
#5 /home/vinta148/vmd/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\Routing\Route->handle(Object(Slim\Psr7\Request))
#6 /home/vinta148/vmd/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#7 /home/vinta148/vmd/vendor/slim/slim/Slim/Routing/Route.php(333): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#8 /home/vinta148/vmd/vendor/slim/slim/Slim/Routing/RouteRunner.php(80): Slim\Routing\Route->run(Object(Slim\Psr7\Request))
#9 /home/vinta148/vmd/vendor/slim/slim/Slim/Middleware/BodyParsingMiddleware.php(50): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request))
#10 /home/vinta148/vmd/vendor/slim/slim/Slim/MiddlewareDispatcher.php(132): Slim\Middleware\BodyParsingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner))
#11 /home/vinta148/vmd/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(58): class@anonymous->handle(Object(Slim\Psr7\Request))
#12 /home/vinta148/vmd/vendor/slim/slim/Slim/MiddlewareDispatcher.php(132): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous))
#13 /home/vinta148/vmd/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(89): class@anonymous->handle(Object(Slim\Psr7\Request))
#14 /home/vinta148/vmd/vendor/slim/slim/Slim/MiddlewareDispatcher.php(132): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous))
#15 /home/vinta148/vmd/vendor/slim/twig-view/src/TwigMiddleware.php(108): class@anonymous->handle(Object(Slim\Psr7\Request))
#16 /home/vinta148/vmd/vendor/slim/slim/Slim/MiddlewareDispatcher.php(132): Slim\Views\TwigMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous))
#17 /home/vinta148/vmd/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): class@anonymous->handle(Object(Slim\Psr7\Request))
#18 /home/vinta148/vmd/vendor/slim/slim/Slim/App.php(208): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#19 /home/vinta148/vmd/vendor/slim/slim/Slim/App.php(192): Slim\App->handle(Object(Slim\Psr7\Request))
#20 /home/vinta148/vmd/wwwroot/index.php(171): Slim\App->run()
#21 {main}