-
Notifications
You must be signed in to change notification settings - Fork 84
Method Illuminate\Database\Eloquent\Collection::delete does not exist #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There's not a lot to go by in your issue description, but are you able to provide a minimum reproducible repo to better demonstrate the issue? |
Hi, I'm getting the same issue but only when using chunk. I'm performing the initial delete with a filamentphp bulk action. laravel/framework v11.43.0 Cheers Dan |
Hey @danharper83 - as above, are you able to provide a minimum reproducible repo to work with? Sounds like in a |
PR #74 added in the chunk functionality. The issue is that when you use the chunk functionality, the callback being passed into the Relevant code:
|
Method Illuminate\Database\Eloquent\Collection::delete does not exist at /var/www/vendor/dyrynda/laravel-cascade-soft-deletes/src/CascadeSoftDeletes.php(69)
Version: 4.4.1
$fetchMethod = 'chunk';
relation HasMany
The text was updated successfully, but these errors were encountered: