You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fail to log user due to AppServiceProvvider.
It's wired because this is the first time ever that this issue shows up, looks like that the closure pass the wrong object.
Argument 1 passed to App\Providers\AppServiceProvider::App\Providers\{closure}() must be an instance of Illuminate\Support\Carbon, instance of Carbon\Carbon given
it refear to AppServiceProvider, looks like that the closure pass Carbon object instead of a Illuminate\Carbon.
It looks like we might just have to remove the typehint. I'm not sure why this is not working now, as I haven't had any issues in the 4 sites I have running on Asgard v4 (or master as you say).
Another solution could be rename the Illuminate\Carbon, but can't figured out why this error occurs only today, I have other project running it with no issue at all
Summary of issue
Fail to log user due to AppServiceProvvider.
It's wired because this is the first time ever that this issue shows up, looks like that the closure pass the wrong object.
it refear to AppServiceProvider, looks like that the closure pass
Carbon
object instead of aIlluminate\Carbon
.Does anyone have the same error?
I have tried to use
Carbon\Carbon
and it works.Steps to reproduce
Just try to log in
System Details
Asgardcms/Platform
version: masterThe text was updated successfully, but these errors were encountered: