Solved Templates

Newsberg 2.0.0 mod_login override error

Asked by Alex 3 years ago Last activity 3 years ago

Hello. I installed Newsberg 2.0.0 quickstart with Joomla 4.0.3. Everything worked fine. But then I updated Joomla to 4.2.9, Helix Ultimate Framework to 2.0.12 and got an error on all pages of the site:

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

If you disable the "Login" module, then everything works fine. If you enable the "Login" module and remove the override for the module in "templates/newsberg/html", then everything works fine.
Please help fix the override.

I am currently working on a local server. But if necessary, I can put the site on test hosting and provide access to FTP.

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Alex

Apology for the inconvenience. I have modified the file: templates/newsberg/html/mod_login/default.php and thus fixed your issue.

Best regards

4 more replies

Alex Asked this

I still need your help. But now I uploaded the site to the hosting and gave you access.

Alex Asked this

Have you forgotten about me?

Alex Asked this

Thank you. The question is closed.

Ofi Khan Staff

You are welcome 😊

Log in to reply.