【发布时间】:2016-01-14 20:02:53
【问题描述】:
我刚刚将我的 L5.2 应用程序推送到生产服务器。我做了一些更改,但突然出现以下错误:
PHP Fatal error: Declaration of Illuminate\Auth\SessionGuard::basic($field = 'email')
must be compatible with
Illuminate\Contracts\Auth\SupportsBasicAuth::basic($field = 'email', $extraConditions
= Array) in /home/forge/domain.com/bootstrap/cache/compiled.php on line 461
该应用在本地和临时服务器上运行良好。
【问题讨论】:
-
如果某件事在一种环境中成功而在另一种环境中失败,请关注您的环境之间的不同之处。
标签: php laravel laravel-5 composer-php laravel-5.2