Hi Guys,
I'm experiencing problems with the Horizon Dashboard. The stats on the main dashboard page are not loading at all. I am running PHP 7.1.8 on Laravel Valet 2.0.5.
I've used the Network tab on Chrome DevTools and there seems to be a few ajax requests that are failing due to being returned a 500 error: Screenshot of Chrome DevTools
I have put the two different stacktraces into Gist's as they are too long to post in this issue apparently. Gist 1 - Gist 2
Any help is appreciated. Thanks in advance.
Make sure you're running on php +7.0 because these errors means that you're not :)
This is what I get when I run php -v & valet restart.
Today I investigated this problem further locally and discovered that php-fpm was running php 7.0. I've sorted this and now the dashboard works as expected. Thanks for your help.
I ran into the same issue, where I had some old 7.0 php-fpm processes still running, even while running php 7.1. Running ps -ef | grep php-fpm and killing each of the resulting 7.0 processes, then valet restart, fixed it for me.
I had to point redis at the IP defined in my Homestead file for Horizon to work, posting here in case that's helpful for anyone.
Most helpful comment
Make sure you're running on php +7.0 because these errors means that you're not :)