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

Can't install cachet. PHP error on composer install #4180

Closed
adrian-abit opened this issue Dec 7, 2020 · 3 comments
Closed

Can't install cachet. PHP error on composer install #4180

adrian-abit opened this issue Dec 7, 2020 · 3 comments

Comments

@adrian-abit
Copy link

Hey! I tried to install cachet today but it does not want to work...

I followed the guide on https://docs.cachethq.io/docs/installing-cachet and started to install via $ composer install --no-dev -o

This throws this error:

php artisan optimize --force
Generating optimized class loader
Compiling common classes
PHP Fatal error: Uncaught ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php:51
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php(51): count()
#2 /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionHandlerTrait.php(47): GrahamCampbell\Exceptions\Except ionIdentifier->identify()
#3 /var/www/Cachet/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(79): GrahamCampbell \Exceptions\ExceptionHandler->report()
#4 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#5 {main}
thrown in /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php on line 51
PHP Fatal error: Uncaught ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php:51
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php(51): count()
#2 /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionHandlerTrait.php(47): GrahamCampbell\Exceptions\Except ionIdentifier->identify()
#3 /var/www/Cachet/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(79): GrahamCampbell \Exceptions\ExceptionHandler->report()
#4 /var/www/Cachet/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(118): Illuminate\Fo undation\Bootstrap\HandleExceptions->handleException()
#5 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#6 {main}
thrown in /var/www/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php on line 51
Script php artisan optimize --force handling the post-install-cmd event returned with error code 255

Could anyone help me resolve this problem?

@welcome
Copy link

welcome bot commented Dec 7, 2020

👋 Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue.
If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.)
If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs

@asheroto
Copy link

I am also facing this issue

@monelgordillo
Copy link

I am also getting this issue as well.

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