Skip to content
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

Trying to access array offset on value of type null #997

Closed
incoming-th opened this issue Mar 24, 2021 · 2 comments
Closed

Trying to access array offset on value of type null #997

incoming-th opened this issue Mar 24, 2021 · 2 comments

Comments

@incoming-th
Copy link

  • Horizon Version: 5.*
  • Laravel Version: ^8.0
  • PHP Version: 7.4
  • Redis Driver & Version: predis/phpredis ^1.1
  • Database Driver & Version: MySQL 8

Description:

Got this error message randomly (not very helpful I know but that's really what is happening) on my logs:

Trying to access array offset on value of type null {"exception":"[object] (ErrorException(code: 0): Trying to access array offset on value of type null at /home/forge/xxx/releases/20210322152436/vendor/laravel/horizon/src/JobPayload.php:48)

I deduct this is a connection issue between the server and the Redis (separate servers in different datacenter), but when I try to connect with telnet from the server with horizon daemon to Redis I have no connection issue.

Hoping to see if someone already have this kind of issue.

Steps To Reproduce:

I tried to reproduce this without success, it is appearing randomly every 2 days or week nothing was done on the instance, same code no change.

The only thing I can think of is that horizon daemon is in different datacenter than the Redis server, and could be a timeout issue - but again no problem at all when using telnel.

Here is a screenshot, it could help to debug:

Screenshot 2021-03-24 102205

@graemlourens
Copy link
Contributor

Hi @MickaelTH please look at #924 It has already been discussed there heavily and its the same issue you're having if i am not mistaken.

@driesvints
Copy link
Member

please see the other issue

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

No branches or pull requests

3 participants