Erro 8
Trying to access array offset on value of type null
#0 /home/imobalcom/public_html/Site/Controllers/ProdutoController.php(91): Slim\Slim::handleErrors(8, 'Trying to acces...', '/home/imobalcom...', 91, Array)
#1 [internal function]: Site\Controllers\ProdutoController->indexAction()
#2 /home/imobalcom/public_html/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Array, Array)
#3 /home/imobalcom/public_html/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route->dispatch()
#4 /home/imobalcom/public_html/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#5 /home/imobalcom/public_html/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#6 /home/imobalcom/public_html/Site/Middlewares/OnlineMiddleware.php(27): Slim\Middleware\MethodOverride->call()
#7 /home/imobalcom/public_html/App/Middlewares/SecurityMiddleware.php(27): Site\Middlewares\OnlineMiddleware->call()
#8 /home/imobalcom/public_html/Site/Middlewares/ProdutoMiddleware.php(32): App\Middlewares\SecurityMiddleware->call()
#9 /home/imobalcom/public_html/vendor/slim/slim/Slim/Slim.php(1300): Site\Middlewares\ProdutoMiddleware->call()
#10 /home/imobalcom/public_html/App/App.php(310): Slim\Slim->run()
#11 /home/imobalcom/public_html/App/App.php(84): App\App->run()
#12 /home/imobalcom/public_html/index.php(60): App\App->__construct()
#13 {main}