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 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1550
Stack trace:
#0 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Support/Collection.php(17): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/home2/jahanedu...', 1550)
#1 /home2/jahanedu/public_html/cs/vendor/composer/ClassLoader.php(444): include('/home2/jahanedu...')
#2 /home2/jahanedu/public_html/cs/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home2/jahanedu...')
#3 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Support/helpers.php(393): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')
#4 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(95): collect(Array)
#5 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(61): Illuminate\Foundation\Exceptions\Handler->shouldntReport(Object(ReflectionException))
#6 /home2/jahanedu/public_html/cs/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(ReflectionException))
#7 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(ReflectionException))
#8 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(ReflectionException))
#9 /home2/jahanedu/public_html/cs/public/index.php(57): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#10 {main} in /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Support/Collection.php on line 17
Fatal error: Uncaught Error: Class "Illuminate\Support\Collection" not found in /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Support/helpers.php:393
Stack trace:
#0 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(95): collect(Array)
#1 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(61): Illuminate\Foundation\Exceptions\Handler->shouldntReport(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#2 /home2/jahanedu/public_html/cs/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#3 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(81): App\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#4 /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(123): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#5 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#6 {main}
thrown in /home2/jahanedu/public_html/cs/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 393