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

Fix count() functions #6702

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

daniel-lucio
Copy link
Contributor

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
@secresearch-rg
Copy link

Installation on a clean debian 12 system leads to similar error messages. Is this related?

fixing permissions on existing directory /var/lib/postgresql/15/main ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Europe/Vienna
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
update-alternatives: using /usr/share/postgresql/15/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up postgresql (15+248) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u1) ...
 pg_reload_conf
----------------
 t
(1 row)

CREATE DATABASE
CREATE DATABASE
CREATE ROLE
CREATE ROLE
GRANT
GRANT
GRANT
ALTER ROLE
ALTER ROLE
INSERT 0 1
PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/fusionpbx/app/dialplan_inbound/app_defaults.php:29
Stack trace:
#0 /var/www/fusionpbx/resources/classes/domains.php(736): include()
#1 /var/www/fusionpbx/core/upgrade/upgrade_domains.php(53): domains->upgrade()
#2 {main}
  thrown in /var/www/fusionpbx/app/dialplan_inbound/app_defaults.php on line 29

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/fusionpbx/app/dialplan_inbound/app_defaults.php:29
Stack trace:
#0 /var/www/fusionpbx/resources/classes/domains.php(736): include()
#1 /var/www/fusionpbx/core/upgrade/upgrade_domains.php(53): domains->upgrade()
#2 {main}
  thrown in /var/www/fusionpbx/app/dialplan_inbound/app_defaults.php on line 29
INSERT 0 1
ERROR:  invalid input syntax for type uuid: ""

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

Successfully merging this pull request may close these issues.

2 participants