Hello,
I am getting following Error-Message:
PHP 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 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1349
Stack trace:
#0 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Support\Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, ‘Return type of …’, ‘C:\xampp\htdocs…’, 1349)
#1 C:\xampp\htdocs\plots\plots\vendor\composer\ClassLoader.php(444): include(‘C:\xampp\htdocs…’)
#2 C:\xampp\htdocs\plots\plots\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile(‘C:\xampp\htdocs…’)
#3 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Support\helpers.php(110): Composer\Autoload\ClassLoader->loadClass(‘Illuminate\Supp…’)
#4 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(130): collect(Array)
#5 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()
#6 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()
#7 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config(‘aliases’)
#8 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#9 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
#10 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith(Array)
#11 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
#12 C:\xampp\htdocs\plots\plots\artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 {main} in C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Support\Collection.php on line 11
In Collection.php line 11:
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExi
sts($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWill
Change] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\plots\plots\vendor\laravel\f
ramework\src\Illuminate\Support\Collection.php:1349
Stack trace:
#0 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Support\Collection.php(11): Illuminate\Found
ation\Bootstrap\HandleExceptions->handleError(8192, ‘Return type of …’, ‘C:\xampp\htdocs…’, 1349)
#1 C:\xampp\htdocs\plots\plots\vendor\composer\ClassLoader.php(444): include(‘C:\xampp\htdocs…’)
#2 C:\xampp\htdocs\plots\plots\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile(‘C:\xampp\htdo
cs…’)
#3 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Support\helpers.php(110): Composer\Autoload
ClassLoader->loadClass(‘Illuminate\Supp…’)
#4 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(130): collect
(Array)
#5 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(106): Illumin
ate\Foundation\PackageManifest->build()
#6 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(89): Illumina
te\Foundation\PackageManifest->getManifest()
#7 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(78): Illumina
te\Foundation\PackageManifest->config(‘aliases’)
#8 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\RegisterFacades.php(26)
: Illuminate\Foundation\PackageManifest->aliases()
#9 C:\xampp\htdocs\plots\plots\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(230): Illuminate
Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
Anybody has tipps?