Replies: 1 comment 6 replies
-
What php version, and what laravel version? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm pretty new at this but I get all these errors when I run php artisan?
$ php artisan
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:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1349
Stack trace:
#0 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Support\Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\composer\ClassLoader.php(576): include('...')
#2 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\composer\ClassLoader.php(427): Composer\Autoload{closure}()
#3 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Support\helpers.php(110): Composer\Autoload\ClassLoader->loadClass()
#4 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(130): collect()
#5 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()
#6 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()
#7 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config()
#8 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#9 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap()
#10 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
#11 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
#12 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#13 {main} in C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\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::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $off
set): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN
\darren\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1349
Stack trace:
#0 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Support\Collection.php(11): Illuminate\Foundation\Bootst
rap\HandleExceptions->handleError()
#1 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\composer\ClassLoader.php(576): include('...')
#2 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\composer\ClassLoader.php(427): Composer\Autoload{closure}()
#3 C:\Users\Owner\Desktop\The Benefactor\The_Benefactor_Platform\The-Benefactor-NEW-DESIGN\darren\vendor\laravel\framework\src\Illuminate\Support\helpers.php(110): Composer\Autoload\ClassLoader-
Beta Was this translation helpful? Give feedback.
All reactions