-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ErrorException: count(): Parameter must be an array or an object that implements Countable #4132
Comments
👋 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. |
Same error 👋
|
@GaneshKandu I have the solution. You must install php5.6 or 5.5 -> https://docs.cachethq.io/docs/prerequisites. Don't use php 7.x. |
I ran into this same problem on php/httpd and added if(version_compare(PHP_VERSION, '7.2.0', '>=')) {
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
} to my |
I should say I've also created this: https://github.com/jjasghar/cachet-playbook to automate making the instance, but I still had to add that snippet after everything was done. |
A quick hack for those of us using the docker variant, you can apply @jjasghar's workaround by adding the following lines to the entrypoint.sh file, right above the line that starts
I've build a docker container based on the 2.3.18 container in which this fix is included, as well as a fix for cachethq/Docker#379: |
Thank you for your input on Cachet 2.x. We are shifting our attention and resources to Cachet 3.x and will no longer be supporting the 2.x version. If your feedback or issue is relevant to the 3.x series, we encourage you to engage with the new branch. For more information on the Cachet rebuild and our plans for 3.x, you can read the announcement here. We appreciate your understanding and look forward to your contributions to the new version. |
Hi,
I am getting error while installing Cachet-2.3.18
this is after successfull installation, on goto dashboard button
System
PHP 7.3.11
MySQL 5.5.62
OS Linux Centos
The text was updated successfully, but these errors were encountered: