Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Database\Eloquent\Model::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/cpcannot/public_html/api/vendor/illuminate/database/Eloquent/Model.php:1544
Stack trace:
#0 /home/cpcannot/public_html/api/vendor/illuminate/database/Eloquent/Model.php(20): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8192, 'Return type of ...', '/home/cpcannot/...', 1544)
#1 /home/cpcannot/public_html/api/vendor/composer/ClassLoader.php(444): include('/home/cpcannot/...')
#2 /home/cpcannot/public_html/api/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/cpcannot/...')
#3 /home/cpcannot/public_html/api/vendor/illuminate/database/DatabaseServiceProvider.php(35): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Data...')
#4 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Application.php(200): Illuminate\Database\DatabaseServiceProvider->register()
#5 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Application.php(615): Laravel\Lumen\Application->register(Object(Illuminate\Database\DatabaseServiceProvider))
#6 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Application.php(367): Laravel\Lumen\Application->loadComponent('database', Array, 'db')
#7 /home/cpcannot/public_html/api/vendor/illuminate/container/Container.php(799): Laravel\Lumen\Application->Laravel\Lumen\{closure}(Object(Laravel\Lumen\Application), Array)
#8 /home/cpcannot/public_html/api/vendor/illuminate/container/Container.php(681): Illuminate\Container\Container->build(Object(Closure))
#9 /home/cpcannot/public_html/api/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->resolve('db', Array)
#10 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Application.php(267): Illuminate\Container\Container->make('db', Array)
#11 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Application.php(728): Laravel\Lumen\Application->make('db')
#12 /home/cpcannot/public_html/api/bootstrap/app.php(27): Laravel\Lumen\Application->withEloquent()
#13 /home/cpcannot/public_html/api/public/index.php(14): require('/home/cpcannot/...')
#14 {main} in /home/cpcannot/public_html/api/vendor/illuminate/database/Eloquent/Model.php on line 20
Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cpcannot/public_html/api/vendor/illuminate/support/Collection.php:1277
Stack trace:
#0 /home/cpcannot/public_html/api/vendor/illuminate/support/Collection.php(11): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8192, 'Return type of ...', '/home/cpcannot/...', 1277)
#1 /home/cpcannot/public_html/api/vendor/composer/ClassLoader.php(444): include('/home/cpcannot/...')
#2 /home/cpcannot/public_html/api/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/cpcannot/...')
#3 /home/cpcannot/public_html/api/vendor/illuminate/support/helpers.php(109): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')
#4 /home/cpcannot/public_html/api/vendor/illuminate/log/LogManager.php(232): collect(Array)
#5 /home/cpcannot/public_html/api/vendor/illuminate/log/LogManager.php(194): Illuminate\Log\LogManager->createStackDriver(Array)
#6 /home/cpcannot/public_html/api/vendor/illuminate/log/LogManager.php(118): Illuminate\Log\LogManager->resolve('stack')
#7 /home/cpcannot/public_html/api/vendor/illuminate/log/LogManager.php(98): Illuminate\Log\LogManager->get('stack')
#8 /home/cpcannot/public_html/api/vendor/illuminate/log/LogManager.php(539): Illuminate\Log\LogManager->driver()
#9 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Exceptions/Handler.php(53): Illuminate\Log\LogManager->error(Object(Symfony\Component\Debug\Exception\FatalErrorException), Array)
#10 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php(122): Laravel\Lumen\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#11 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php(66): Laravel\Lumen\Application->handleUncaughtException(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#12 /home/cpcannot/public_html/api/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php(54): Laravel\Lumen\Application->handleShutdown()
#13 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#14 {main} in /home/cpcannot/public_html/api/vendor/illuminate/support/Collection.php on line 11