Jobs error
#33223
Replies: 2 comments
-
We'll need some code here to reproduce. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I send a task to the queue, I get an error.
Error: Cannot unpack array with string keys in [PATH_TO_PROJ]/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Collection.php:605
The array_intersect() function gets an array:
Temporarily replaced the line and works:
return array_intersect(...array_values($relations));
Is this a bug or my mistake? Before updates everything worked.
Database/Eloquent/Collection.php#L605
Beta Was this translation helpful? Give feedback.
All reactions