laravel undefined index

Solutions on MaxInterview for laravel undefined index by the best coders in the world

showing results for - "laravel undefined index"
Josefina
31 Feb 2017
1Try this, it is worked for me, in following file:
2
3vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
4
5Find this line and comment it
6
7$packages = json_decode($this->files->get($path), true);
8
9Add two new lines after above commented line
10
11$installed = json_decode($this->files->get($path), true);
12$packages = $installed['packages'] ?? $installed;
Greta
07 Jul 2017
1$installed = json_decode($this->files->get($path), true);
2$packages = $installed['packages'] ?? $installed;
3