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

Error count(): Parameter must be an array or an object that implements Countable in PHP 7.3.7 #608

Open
ryanhowdy opened this issue Dec 5, 2019 · 0 comments
Labels
Bug Something is broken Critical Something is really broken legacy Issue is pre 4.0.0 Laravel rewrite and is no longer relevant. 3.8.0 bugs will not be maintained.

Comments

@ryanhowdy
Copy link
Owner

Assigned to Problems, Issues and Bugs #38659. As reported in Tender:

Hello,

I am hosting FC internally on my NAS. After recent upgrade of the box, it got PHP 7.3.7 and I run into problems.
It started with blank, white page, instead login page, so I was not able to do anything. I found the reason - now ImageCreateFromBMP is the name of sunctio provided by PHP, so it could not be re-initiated. I renamed the function in inc/utils.php; inc/image_class.php and inc/Upload/Destination.php.
I am able to login.
The site seems to work properly, but it desplays error: PHP Error count(): Parameter must be an array or an object that implements Countable on home.php, familytree.php.
I understand it is caused by the new way of handling non-countable values for count() in PHP.
Unfortunately I don't know how to fix it. Is it an easy way of doing it?

Thanks in advance!
Best Regards, yareq

@ryanhowdy ryanhowdy added Bug Something is broken Critical Something is really broken labels Dec 5, 2019
@ryanhowdy ryanhowdy added the legacy Issue is pre 4.0.0 Laravel rewrite and is no longer relevant. 3.8.0 bugs will not be maintained. label Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken Critical Something is really broken legacy Issue is pre 4.0.0 Laravel rewrite and is no longer relevant. 3.8.0 bugs will not be maintained.
Projects
None yet
Development

No branches or pull requests

1 participant