Solved Templates

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

Asked by Carol-Lynn Burbidge 4 years ago Last activity 2 years ago

Good Day. I installed the templat Mega Deal ii, which came with VirtueMart.

When I go to VirtueMart>Shop, It gives me this error:
0 count(): Argument #1 ($value) must be of type Countable|array, null given

Please advise.

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Carol-Lynn Burbidge

Please change your PHP version to 7.4 and check your issue. Hopefully, it will be solved.

Best regards

3 more replies

Carol-Lynn Burbidge Asked this

Hi Ofi Khan.

Thank you for your assistance, changing my PHP versin to 7.4 solved the issue.

Ofi Khan Staff

You are welcome.

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on Joomla Extension Directory. This will inspire us to improve.

IE Jesus Niño

hola, me sucedio el mismo problema, pero estoy usando una plantilla de joomla4 y por lo que se, es que la 4x y 5x necesitan la version de php8x, hay alguna otra forma de resolverlo

Ofi Khan Staff

Hello IE Jesus Niño

Please post a new question regarding your issue. We will check and help you.

Best regards

Log in to reply.