0
我有,當我試圖從DBLaravel 5.2 debugbur例外
$news = \App\Models\News::findOrFail(1);
獲得創紀錄的laravel拋出異常
ErrorException in LaravelDebugbar.php line 291:
Missing argument 2 for Barryvdh\Debugbar\LaravelDebugbar::Barryvdh\Debugbar\{closure}()
我composer.json後debugbur例外
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.2.*",
"laravelcollective/html": "dev-master",
"barryvdh/laravel-debugbar": "^2.1",
"barryvdh/laravel-ide-helper": "^2.1"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"symfony/css-selector": "2.8.*|3.0.*",
"symfony/dom-crawler": "2.8.*|3.0.*"
},
升級laravel調試器開發者已經改變爲5.2 – umefarooq