[SOLVED] Undefined index: name In PackageManifest.php line 122 — Laravel

Undefined index: name
  1. Find the PackageManifest.phpfile in:
vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
$packages = json_decode($this->files->get($path), true);
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;

--

--

--

I am a Backend Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Summary about chapter 9 in CS:APP

Destroying objects!!!

Beautiful Code vs. Readable Code

How can you test our application properly?

Laravel PHP Framework for Web Development

Writing Better PySpark Code

LeetCode4FLAG: Top 100 Coding Test for FaceBook, LinkedIn Amazon, Google,

The Android LaunchMode Animated CheatSheet

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lim Sing

Lim Sing

I am a Backend Developer

More from Medium

Multiple PHP versions in single XAMPP on Windows

Laravel 8 v 9 — Eloquent Mutators & Casting

Deprecating PHP 7.0 and PHP 7.1 on violinist