Staff replied Templates

Strings 0 - Erreur: 0

Asked by Guillaume Langlais 4 years ago Last activity 4 years ago

Hello Team, my website bases on SP Strings is Out of Service.
i go on a page with error: 0 COUNT(): ARGUMENT #1 ($VALUE) MUST BE OF TYPE COUNTABLE|ARRAY, STRING GIVEN
Imposible in admin to go on SP Strings Component, i have an error: 500 Mise en page admin:com_spstrings/cpanels/default introuvable

I absolutly don't understand what happen, can you help me please ?

Thank you very much.

8 replies

Ofi Khan Staff

Hello Guillaume Langlais

SP Strings is not PHP 8 compatible. Please use PHP 7.4 to solve this issue.

Best regards

Guillaume Langlais Asked this
4 years ago · edited

Hello Ofi Khan, thx, i have modify php and return to php7.4
I have some errors on my homepage
Could you help me please ?
Thank you very much.

Guillaume Langlais Asked this

Very sorry for this problem, i had not see String was not compatible php8.

Ofi Khan Staff

What is the issue on PHP 7.4? Please share a screenshot and specific page link of the issue.

Ofi Khan Staff

Please go to this location: components/com_spstrings/helpers and replace helper.php file with the attached file. You need to unzip the file and then replace.

helper.php.zip

Guillaume Langlais Asked this

Oh YES !!! Super ! Thank you very much for your help.
Have a good day

Ofi Khan Staff

You are welcome 😊

Please accept the answer that helped you. It will be then easier to find the solution for the other users with the same issue. There is a button to accept answer after each comment.

Have a good day too!

Log in to reply.