Skip to content

Conversation

@DougSisk
Copy link
Contributor

This is a fix for PR #929.

The SerializesModels trait does not play well with an empty Eloquent model class. It's attempting to load a model and erroring out since there's no ID set. This removes that trait and changes the job to use the class' fully qualified name to avoid any errors from PHP attempting to serialize the class.

@stevebauman
Copy link
Contributor

Thanks @DougSisk!

@taylorotwell taylorotwell merged commit 5ac76e8 into laravel:10.x Jul 11, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants