Staff replied Templates

Override mod_login and php 8

Asked by pascal 3 years ago Last activity 3 years ago

Hi,

With Tradus quickstart, I have an incompatibility with PHP 8 with the override de mod_login. With PHP 7.4 it's ok.

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

Function Location
1 () JROOT/templates/travus/html/mod_login/default.php:70
2 require() JROOT/modules/mod_login/mod_login.php:34

When I deactivate this module with PHP 8 it's ok.

1 reply

Ofi Khan Staff

Hello pascal

Travus template is not compatible with PHP 8 yet. We will update the template soon. Please use PHP 7.4 till then to avoid issues. You may follow this blog

Best regards

Log in to reply.