I have supervisord set up on one of my servers and have a horizon.conf file set up and configured as per the documentation.
All was working as expected, but I noticed today horizon was inactive. When manually trying to restart using supervisorctl restart horizon I get the following error:
horizon: ERROR (spawn error)
The logs show this message:
In ArgvInput.php line 259:
Invalid argument supplied for foreach()
Content-type: text/html; charset=UTF-8
However if I run php artisan horizon from the command line it successfully starts.
Has anyone encountered this error before or have any idea how to resolve it?