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

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

Oleg Kor

Oleg Kor

Template 7 months ago

Good afternoon

I have a problem running the Estate template. The admin panel works without problems. But on front pages I have an error: count(): Argument #1 ($value) must be of type Countable|array, null given

Template (quickstart) set to:

  • web server - nginx
  • PHP-8.1
  • quickstart updated after installation to Joomla - 4.3.4
  • mysqld Ver 8.0.34

Please. Help.

0
12 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 7 months ago #128565

Hi Oleg,

Fixed by me. It was problem with login module override.

0
Oleg Kor
Oleg Kor
Accepted Answer
7 months ago #128578

good thank you

0
Oleg Kor
Oleg Kor
Accepted Answer
7 months ago #128566

Sorry. I'm sorry. Problem solved. For some reason, the standard Authorization module was in conflict. I turned it off... The site is up and running. Then I turned it on again - the site still works.

In general, I do not know why this happened, but the problem was solved much easier than it seemed.

Although, if someone knows the real reason, I would be glad to hear why this happened.

Thank you all.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 7 months ago #128567

Look up.

0
Comunicante
Comunicante
Accepted Answer
6 months ago #132077

Hi! I have the same issue, can you tell me how I can solve it? Thank you...

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #132084

First enable that to see whole error message

error_reporting_debug.jpg

then make screenshot, upload on your server and share link to it.

@Oleg shared access, you didn't. That's why.

1
Comunicante
Comunicante
Accepted Answer
6 months ago #132086

Hi Paul. Can you check the screenshot? Thanks...

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #132088

Thx,

you have two options:

  1. Delete that file
  2. Or, override that file with file taken from raw Helix Ultimate template.
0
Comunicante
Comunicante
Accepted Answer
6 months ago #132089

Sorry, I didn't understand which file I need to delete or replace...

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #132090

from your screenshot - first link in "Location" column.

info_1589_2023.gif

0
Comunicante
Comunicante
Accepted Answer
6 months ago #132091

Thanks, Paul, you have been very helpful. I solved the issue.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #132093

you're welcome, please mark as solved

0