Awaiting an answer General

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

Asked by Jan Huszarik 4 years ago Last activity 4 years ago

Hello. I am asking for your help. I was solving a problem with the compatibility of the PHP version and the Finion template. Support Joomshaper helped me solve this problem. Now after unlocking the site for the public, I got an error message: count(): Argument #1 ($value) must be of type Countable|array, null given.
Please what should I do now?
https://www.joga-alena.sk
PHP version: 8.0

3 replies

Paul Frankowski Senior Staff
4 years ago · edited

Hi Jan,

I think I know how to fix it. It's releated to Joomla 4x login module changes. Thanks for access.

Paul Frankowski Senior Staff

Fixed.

On your site I edited only one "default.php" file from folder: templates\finion\html\mod_login

login.zip

Jan Huszarik Asked this

thank you, you are very helpful and professional. I am obliged to you.

Log in to reply.