Argument #1 ($value) must be of type Countable|array, string given - Forum | JoomShaper
Solved SP Page Builder

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

Asked by Rakesh 1 year ago Last activity 1 year ago

Got this error on my home page.

Managed to pin it down to the Slideshow Addon.

When I add the default content to the slideshow, this error appears:

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

The error disappears when I add an Item within that content with the + Add Item button.

This might be related to SP Page Builder Translate, since it only happends on my secondary language.

Perhaps this info helps someone.

Accepted answer

Marked as the solution
Rakesh Asked this
1 year ago · edited

Added a Item to each of the content items.
After the page save I deleted all the items again and the problem doesn't appear anymore.

2 more replies

Rakesh Asked this
1 year ago · edited

With Extension SP Page Builder Translate 5.6 disabled, it still shows the error.

So I do think it is related to SPPB.

Mehtaz Afsana Borsha Staff

Hi Rakesh,

Thanks for contacting us and glad to know that your issue is fixed. You can now close this post by accepting the answer.

-Regards.

Log in to reply.