-
Notifications
You must be signed in to change notification settings - Fork 664
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
Error json decoding payload resulting in "Trying to access array offset on value of type null" #919
Comments
In regards (2), finding a way to debug this. Everything in the stacktrace comes from the vendor directory so i'm not sure at what point it would be possible to hook in:
|
Hey there, Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? We'll help you out and re-open this issue if so. Thanks! |
Description:
We are getting an error:
On the following line:
horizon/src/JobPayload.php
Line 48 in b3fba0d
The error originally originates from this line:
horizon/src/JobPayload.php
Line 38 in b3fba0d
Where json_decode is returning
NULL
instead of an Array.I have no way of knowing how to debug this? Is there some way to catch this error and view the value of
$value
?Interestingly restarting supervisor, and thus Horizon, seems to resolve the issue.
Could be a Redis issue of some sort? Perhaps the data is getting truncated in memory?
I'll split my issue into three questions:
$value
when json_decode is NULL?The text was updated successfully, but these errors were encountered: