Laravel 在composer 升级后出现undefind index:name 的解决方案
2024-01-06 14:55:30    0    0    0
junjie
修改文件`/vendor/laravel/framework/src/Illuminate/Support/Collection.php` ``` public function mapWithKeys(callable $callback) { $result = []; $item = $this->items; if(isset($item['packages'])){ $item = $item['packages']; } foreach ($item as $key => $value) { $assoc = $callback($value, $key); foreach ($assoc as $mapKey => $mapValue) { $result[$mapKey] = $mapValue; } } return new static($result); } ```

上一篇: 在Windows下验证某域名的TXT解析记录是否配置生效

下一篇: 解决:No application encryption key has been specified

Table of content