[2021-09-29 11:01:41] local.ERROR: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Laravel\Octane\RequestContext::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 /home/user/www/laravel/vendor/laravel/octane/src/RequestContext.php:13
Stack trace:
#0 /home/user/www/laravel/vendor/laravel/octane/src/RequestContext.php(7): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/home/user/www/...', 13)
#1 /home/user/www/laravel/vendor/composer/ClassLoader.php(571): include('/home/user/www/...')
#2 /home/user/www/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/user/www/...')
#3 /home/user/www/laravel/vendor/laravel/octane/bin/roadrunner-worker(55): Composer\Autoload\ClassLoader->loadClass('Laravel\\Octane\\...')
#4 {main} {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Laravel\\Octane\\RequestContext::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 /home/user/www/laravel/vendor/laravel/octane/src/RequestContext.php:13
Stack trace:
#0 /home/user/www/laravel/vendor/laravel/octane/src/RequestContext.php(7): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8192, 'Return type of ...', '/home/user/www/...', 13)
#1 /home/user/www/laravel/vendor/composer/ClassLoader.php(571): include('/home/user/www/...')
#2 /home/user/www/laravel/vendor/composer/ClassLoader.php(428): Composer\\Autoload\\includeFile('/home/user/www/...')
#3 /home/user/www/laravel/vendor/laravel/octane/bin/roadrunner-worker(55): Composer\\Autoload\\ClassLoader->loadClass('Laravel\\\\Octane\\\\...')
#4 {main} at /home/user/www/laravel/vendor/laravel/octane/src/RequestContext.php:7)
[stacktrace]
#0 {main}
"}
PHP VERSION:
PHP 8.1.0RC2 (cli) (built: Sep 29 2021 16:17:01) (NTS)