Generic-University icon indicating copy to clipboard operation
Generic-University copied to clipboard

Issue setting up

Open CyberBishop opened this issue 3 years ago • 13 comments

└─$ composer update

Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested. Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump Deprecation Notice: 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 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Container/Container.php:1270 Deprecation Notice: 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 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Container/Container.php:1281 Deprecation Notice: 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 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Container/Container.php:1293 Deprecation Notice: 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 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Container/Container.php:1306
@php artisan package:discover --ansi 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 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1349 Stack trace: #0 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() #1 /home/alvin/Downloads/Generic-University/vendor/composer/ClassLoader.php(571): include('...') #2 /home/alvin/Downloads/Generic-University/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile() #3 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass() #4 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect() #5 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build() #6 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest() #7 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config() #8 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #9 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap() #10 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith() #11 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap() #12 /home/alvin/Downloads/Generic-University/artisan(37): Illuminate\Foundation\Console\Kernel->handle() #13 {main} in /home/alvin/Downloads/Generic-University/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 Ill
uminate\Support\Collection::offsetExists($key) should either be compatible wit
h ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChan
ge] attribute should be used to temporarily suppress the notice in /home/alvin
/Downloads/Generic-University/vendor/laravel/framework/src/Illuminate/Support/
Collection.php:1349
Stack trace:
#0 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum
inate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExcept
ions->handleError()
#1 /home/alvin/Downloads/Generic-University/vendor/composer/ClassLoader.php(57
1): include('...')
#2 /home/alvin/Downloads/Generic-University/vendor/composer/ClassLoader.php(42
8): Composer\Autoload\includeFile()
#3 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum
inate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass()
#4 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum
inate/Foundation/PackageManifest.php(130): collect()
#5 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum
inate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManife
st->build()
#6 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum
inate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifes
t->getManifest()
#7 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum
inate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifes
t->config()
#8 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum
inate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\Pack
ageManifest->aliases()
#9 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illum f inate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\Registe
rFacades->bootstrap()
#10 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illu
minate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->
bootstrapWith()
#11 /home/alvin/Downloads/Generic-University/vendor/laravel/framework/src/Illu
minate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kerne
l->bootstrap()
#12 /home/alvin/Downloads/Generic-University/artisan(37): Illuminate\Foundatio
n\Console\Kernel->handle()
#13 {main}

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255

CyberBishop avatar Feb 05 '22 02:02 CyberBishop