In PackageManifest.php line 131: Undefined index: name laravel 7
composer self-update --stable
In PackageManifest.php line 131: Undefined index: name laravel 7
composer self-update --stable
How to fix undefined index: name in PackageManifest.php line 131 error with Composer
$ composer update
laravel undefined index
Try this, it is worked for me, in following file:
vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
Find this line and comment it
$packages = json_decode($this->files->get($path), true);
Add two new lines after above commented line
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;
undefined index: name laravel
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us