[英]Laravel - artisan commands return InvalidArgumentException
Whenever I run any PHP artisan command (even php artisan help
), I get: 每当我运行任何 PHP artisan命令(甚至
php artisan help
),我都会得到:
[InvalidArgumentException] Attribute [gett] does not exist
[InvalidArgumentException]属性[gett]不存在
I haven't messed with my artisan file. 我没有弄乱我的工匠档案。 How do I solve this?
我该如何解决?
Fixed this. 解决此问题。 Turns out I accidentally used
Route::gett
instead of Route::get
. 原来我不小心使用了
Route::gett
而不是Route::get
。 Found it by doing a global search. 通过全局搜索找到了它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.