Laravel Sail Carbon\Exceptions\UnitNotConfiguredException

35 views Asked by At

I have a rather esoteric issue. I just upgraded a L9 project to L10 and when I try to log in I am greeted with the message:

Carbon\Exceptions\UnitNotConfiguredException

Unit microseconds have no configuration to get total from other units.

I have narrowed it down to the Sleep class in Illuminate\Support where a Carbon interval object is being created and the class wants to add microseconds to it. After trying to fix this for several hours now I have simply given up because I can't pinpoint where the actual problem is coming from.

Now the interesting part is: If I deploy this app to my server everything works fine. This only happens in sail and I don't know why.

Here's a link to the entire rendered error page: https://helloo.it/stack-trace.html

0

There are 0 answers