Count(): Argument #1 ($value) Must Be Of Type Countable|array, Null Given - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Count(): Argument #1 ($value) Must Be Of Type Countable|array, Null Given

JH

Jan Huszarik

General 3 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

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #91070

Hi Jan,

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #91076

Fixed.

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

login.zip

0
JH
Jan Huszarik
Accepted Answer
3 years ago #91087

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

0