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
I came across a type error issue that may have been triggered from an updated Laravel version.
php artisan operations:show
ERROR TimoKoerber\LaravelOneTimeOperations\Commands\Utils\OperationsLineElement::make(): Argument #3 ($processedAt) must be of type ?Illuminate\Support\Carbon, Carbon\CarbonImmutable given, called in vendor/timokoerber/laravel-one-time-operations/src/Commands/OneTimeOperationShowCommand.php on line 95.
I was able to get this error to go away and show/process operations by updating the OperationsLineElement.php file and changing this:
use Illuminate\Support\Carbon;
To this:
use Carbon\CarbonImmutable as Carbon;
Please consider this (or similar) update. Thank you!
The text was updated successfully, but these errors were encountered:
I came across a type error issue that may have been triggered from an updated Laravel version.
I was able to get this error to go away and show/process operations by updating the
OperationsLineElement.php
file and changing this:To this:
Please consider this (or similar) update. Thank you!
The text was updated successfully, but these errors were encountered: