Solved Templates

Module Login Error template Edulif

Asked by esf 3 years ago Last activity 3 years ago

Hi,
I got an error when login module is published on template Edulif (see url in hidden content).
JROOT/templates/edulif/html/mod_login/default.php:70
Note : works fine with template Helix Ultimate.

Here is some info about the site web :
Joomla 4.2.3
php 8.0
Edulif 2.0.1

Thank your for your help !
Best regards

Accepted answer

Marked as the solution
esf Asked this

Hi,
I found the solution :

Please go to this location: templates/edulif/html/mod_login/default.php line 70 and change from this

if (count($twofactormethods) > 1)
to
if (count((array)$twofactormethods) > 1)

It works fine now.
Best regards

1 more reply

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us and glad to know that you have found the solution. Thanks for sharing the solution with us.

-Regards.

Log in to reply.