Joomla 4.2 - Forum | JoomShaper
Awaiting an answer SP Page Builder

Joomla 4.2

Asked by Josef Langenegger 4 years ago Last activity 4 years ago

I have installed Joomla 4.2 today.
On my site i use with SP Pagebuilder the modules "Login" and "Random Image". With both of them the following message appears after installing Joomla 4:
"count(): Argument #1 ($value) must be of type Countable|array, null given".

I ask you to fix the error as soon as possible. How can I fix the error in the meantime?

Thank you for the support.

Greetings
langi

13 replies

Paul Frankowski Senior Staff
4 years ago · edited

Hi Langi,

As I mentioned in different topic today you have two temporray options:

  1. Disable login module and replace with Login menu item in main menu.
  2. Or DELETE login module override from your template folder:

templates/shaper_NAME/html/mod_login/default.php

"default.php" file must be deleted or renamed by now.


It's becuase Joomla 4.2 made some code changes, added Multi-Factor Authentication that replaced Two-Factor Authentication that was before in Joomla 4.1.x


Yes, Update of Helix will be in the next 24-48h.

Josef Langenegger Asked this

Hi

Thank you for this useful information.

Josef Langenegger Asked this

Two months ago I posted the question "Update Changes The Layout".
Now I find out that this problem is still not fixed even with Tooday's update. Very sad!

When will this be fixed?

Paul Frankowski Senior Staff

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

Has been fixed in today Helix Ultimate 2.0.11 update. So if you have raw Helix just update.


Do You mean that Custom Layout is deleted by template update?

Josef Langenegger Asked this

Yes "count(): Argument #1 ($value) must be of type Countable|array, null given" is fixed.
But the custom layout is still changed with the update, unfortunately.

Chris G
4 years ago · edited

Hey Paul,

Has been fixed in today Helix Ultimate 2.0.11 update. So if you have raw Helix just update.

"count(): Argument #1 ($value) must be of type Countable|array, null given".
is still existing in shaper_estate, also after updating Helix Ultimate to 2.0.11

  1. Disable login module and replace with Login menu item in main menu.
    Or 2. DELETE login module override from your template folder:

solved the issue

Josef Langenegger Asked this

Hi
This is what I wrote. "count(): Argument #1 ($value) must be of type Countable|array, null given" is fixed.

But the problem "Update Changes The Layout" described three months ago is unfortunately still unsolved.

The attached pictures show the page before and after the 2.0.11 update.

I really expect this bug to be fixed as soon as possible.
Greetings
langi

Paul Frankowski Senior Staff

In that case, by now I recommend to set those colors using custom.css file.

I will ask team to check and correct that.

Josef Langenegger Asked this

"I will ask team to check and correct that."
I already got this answer from Mehtaz Afsana Borsha three months ago. But nothing has happened.

Log in to reply.