Foundation\Auth\SendsPasswordResetEmails not found
点击忘记密码后,本地没有错误,线上提示错误:
Trait “Illuminate\Foundation\Auth\SendsPasswordResetEmails” not found
找不到SendsPasswordResetEmails.php这个文件
在网上找了半天没找到,7.x版本Auth文件下就两个文件
问题已解决,原因是因为heroku环境未加载"laravel/ui": "^2.0",只需要在require下面添加该依赖,并用composer update更新依赖,然后在用git 上传到heroku即可
推荐文章: