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
{{ message }}
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
The problem with this is that the 4th parameter for DispatchAction::forModels method is expecting an instance of Illuminate\Database\Eloquent\Collection and because of collect([]) it is getting an instance of Illuminate\Support\Collection. As a result, this is the exception that gets thrown:
Argument 4 passed to Laravel\Nova\Actions\CallQueuedAction::__construct() must be an instance of Illuminate\Database\Eloquent\Collection, instance of Illuminate\Support\Collection given
The text was updated successfully, but these errors were encountered:
In the
DetachedAction
file thehandleRequest
method does the following:The problem with this is that the 4th parameter for
DispatchAction::forModels
method is expecting an instance ofIlluminate\Database\Eloquent\Collection
and because ofcollect([])
it is getting an instance ofIlluminate\Support\Collection
. As a result, this is the exception that gets thrown:The text was updated successfully, but these errors were encountered: