Cachet loads to empty page

April 22, 2018 259 views
LEMP Ubuntu 16.04

I tried installing Cachet yesterday, but I can’t manage to get it installed. I’ve gotten to the point where I can’t go further without help. I’ve experienced 502 errors, SSL errors, basically everything. Now it just loads to a empty page. I get an error in my nginx log.

PHP message: PHP Fatal error:  Uncaught ErrorException: count(): Parameter must be an array or an object that implements Countable in /home/cachet/www/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php:51
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'count(): Parame...', '/home/cachet/ww...', 51, Array)
#1 /home/cachet/www/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php(51): count(NULL)
#2 /home/cachet/www/vendor/graham-campbell/exceptions/src/ExceptionHandlerTrait.php(47): GrahamCampbell\Exceptions\ExceptionIdentifier->identify(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#3 /home/cachet/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(79): GrahamCampbell\Exceptions\ExceptionHandler->report(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#4 /home/cachet/www/vendor/laravel/framework/src/Illu

I just can’t get further.
I tried following several tutorials, but none of them used php7.2, so maybe that’s the issue? I don’t really know.

2 Answers

It appears that this is a known issue for Cachet with PHP 7.2. It is recommended to use a newer dev version of Cachet if you must use PHP 7.2 currently.

You can find more details here.

Yeah, I figured that out about 2 days ago. Thanks anyways!

Have another answer? Share your knowledge.