Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Slim\Http\Response::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Http/Response.php:451
Stack trace:
#0 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Http/Response.php(46): Slim\Slim::handleErrors(8192, 'Return type of ...', '/home2/engen234...', 451)
#1 /home2/engen234/public_html/restaurante/vendor/composer/ClassLoader.php(444): include('/home2/engen234...')
#2 /home2/engen234/public_html/restaurante/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home2/engen234...')
#3 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Slim.php(167): Composer\Autoload\ClassLoader->loadClass('Slim\\Http\\Respo...')
#4 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Helper/Set.php(228): Slim\Slim->Slim\{closure}(Object(Slim\Helper\Set))
#5 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Helper/Set.php(88): Slim\Helper\Set->Slim\Helper\{closure}(Object(Slim\Helper\Set))
#6 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Slim.php(232): Slim\Helper\Set->get('response')
#7 /home2/engen234/public_html/restaurante/site/Controllers/Traits/SlimController.php(43): Slim\Slim->__get('response')
#8 /home2/engen234/public_html/restaurante/site/Controllers/Controller.php(18): App\Controllers\Controller->initSlim()
#9 /home2/engen234/public_html/restaurante/index.php(49): App\Controllers\Controller->__construct(Object(App\Util\Slim))
#10 [internal function]: {closure}()
#11 /home2/engen234/public_html/restaurante/site/Util/Slim.php(37): call_user_func(Object(Closure))
#12 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Slim.php(1365): App\Util\Slim->notFound()
#13 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#14 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#15 /home2/engen234/public_html/restaurante/site/Util/AuthMiddleware.php(22): Slim\Middleware\MethodOverride->call()
#16 /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Slim.php(1300): App\Util\AuthMiddleware->call()
#17 /home2/engen234/public_html/restaurante/index.php(59): Slim\Slim->run()
#18 {main} in /home2/engen234/public_html/restaurante/vendor/slim/slim/Slim/Http/Response.php on line 46