Hata:
php artisan serve
PHP Deprecated: Return type of Illuminate\Container\Container::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 /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1341
Deprecated: Return type of Illuminate\Container\Container::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 /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1341
PHP Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1352
Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1352
PHP Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1364
Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1364
PHP Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1377
Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1377
PHP Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/hamitseyrek/arjinProject/my-Project/bahattindis/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 152
ÇÖZÜM:
Bu hatayı almanızın sebebi sahip olduğunuz bir paketin php sürümüyle uyumsuz olmasıdır. Böyle bir durumda
composer update
komutunu çalıştırmanız sorunu çözecektir.
Çözüm için teşekkür ederim.
Not: Eğer Homestead kullanıyorsanız yeniden başlattığınızda( vagrant reload –provision) çalışacaktır.
Rica ederim. Ayrıca ek bilgi için teşekkür ederim.