count(): Argument #1 ($value) must be of type Countable|array, string given - Forum | JoomShaper
Solved Extensions

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

Asked by Peter Dowse 1 year ago Last activity 1 year ago

Hi Guys,

Getting this error message on some listings for the LMS.

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

It's only happening on some listings and I'm not sure what's going on.

Any chance I can get some assistance.

I've turned on debugging and error messages, but that's not giving me any clues.

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Peter Dowse

I have modified this file:

templates/shaper_yoga/html/com_splms/event/default.php

and fixed your issue. Please check your site now.

Best regards

5 more replies

Peter Dowse Asked this

Many thanks - that's greatly appreciated.

Ofi Khan Staff

You are welcome 😊

Ofi Khan Staff

I have fixed the file again. Please save the file separately so that you can change if after updating the template.

Log in to reply.