Staff replied Templates

Estate Template with PHP 8+ does not work

Asked by uaigo 3 years ago Last activity 3 years ago

Hi, I'm having problems with the estate template with PHP 8+ in J4. The following error appears: count(): Argument #1 ($value) must be of type Countable|array, null given
It only works if I roll back the version to PHP 7.4.
Could you check if the compatibility with PHP 8 is really working.

1 reply

Ofi Khan Staff

Hello uaigo

Please go to this location:

templates/shaper_estate/html/mod_login

and replace default.php file with the attached file. You need to unzip the file and then replace.

default.php.zip

Best regards

Log in to reply.