Staff replied Templates

Undefined variable: twofactormethods in...

Asked by Kostas Konstantinidis 4 years ago Last activity 4 years ago

Hi there,
I have two major issues with newsberg template.

  1. when anybody click on the Connect buton the system gives Notice: Undefined variable: twofactormethods in /home/pekkeux/public_html/templates/newsberg/html/mod_login/default.php on line 71
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/pekkeux/public_html/templates/newsberg/html/mod_login/default.php on line 71
    Look here https://imgur.com/a/MkTxMFH
  2. it doesn't work with PHP version 8.xx It returns 0 count(): Argument #1 ($value) must be of type Countable|array, null given

thank's

3 replies

Paul Frankowski Senior Staff
4 years ago · edited

HI Kostas,

I solved only Login module issue (1)

but (2) PHP 8 support must be added by official template update.

Kostas Konstantinidis Asked this

Many thank's Paul... So I have to wait for the update

Paul Frankowski Senior Staff

yes, you should.

You're welcome

Log in to reply.