PHP Fatal error: A precedence rule was defined for > Illuminate\Foundation\Auth\AuthenticatesUsers::getGuard

前端 未结 2 878
逝去的感伤
逝去的感伤 2021-01-20 20:49

I\'ve just finished updating an app from Laravel 5.1 to 5.2. Everything is working fine on my local Homestead install. When I deploy to my forge server, the process is faili

2条回答
  •  一生所求
    2021-01-20 20:49

    The AuthenticatesAndRegistersUsers has a precedence statement to use getGuard from AuthenticatesUsers instead of from RegistersUsers.

    The AuthenticatesUsers trait has a getGuard method defined in it.

    Double check to make sure your version of that trait has the getGuard method and or double check those traits against the ones in the laravel repository.

提交回复
热议问题