Error

Carbon\Exceptions\InvalidFormatException ...

Solution

This error usually occurs when you try to parse a string as a date or time, but the string does not conform to a format that the Carbon library can recognize.