Horizon: Horizon Dashboard not loading.

Created on 1 Sep 2017  路  5Comments  路  Source: laravel/horizon

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.

Most helpful comment

Make sure you're running on php +7.0 because these errors means that you're not :)

All 5 comments

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.

Screenshot of iTerm

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

slavarazum picture slavarazum  路  3Comments

mikeminckler picture mikeminckler  路  3Comments

marianvlad picture marianvlad  路  5Comments

pmartelletti picture pmartelletti  路  4Comments

Pustiu picture Pustiu  路  5Comments