Jump to content
  • Status: Pending

IPS\Member\Group::formatName(): Argument #1 ($name) must be of type string, null given, called in system/Member/Group.php on line 310 exception in IPS\core\listeners\System

URL: login/?_fromLogin=1

#0 public_html/system/Events/Event.php(75): IPS\Log::log()
#1 public_html/system/Member/Member.php(570): IPS\Events\Event::fire()
#2 public_html/system/Member/Member.php(2304): IPS\Member->save()
#3 public_html/system/Member/Group.php(300): IPS\Member->language()
#4 public_html/system/Patterns/ActiveRecord.php(360): IPS\Member\Group->get_name()
#5 public_html/system/Member/Group.php(492): IPS\Patterns\ActiveRecord->__get()
#6 public_html/system/Member/Member.php(3807): IPS\Member\Group->apiOutput()
#7 public_html/applications/core/listeners/System.php(419): IPS\Member->apiOutput()
#8 public_html/system/Events/Event.php(65): IPS\core\listeners\System->onProfileUpdate()
#9 public_html/system/Member/Member.php(570): IPS\Events\Event::fire()
#10 public_html/system/Session/Session.php(224): IPS\Member->save()
#11 public_html/system/Session/Front.php(744): IPS\Session->init()
#12 public_html/system/Session/Session.php(114): IPS\Session\Front->init()
#13 public_html/system/Theme/Theme.php(454): IPS\Session::i()
#14 public_html/system/Theme/Theme.php(374): IPS\Theme::currentThemeId()
#15 public_html/system/Dispatcher/Standard.php(82): IPS\Theme::i()
#16 public_html/system/Dispatcher/Front.php(913): IPS\Dispatcher\Standard::baseCss()
#17 public_html/system/Dispatcher/Front.php(143): IPS\Dispatcher\Front::baseCss()
#18 public_html/system/Dispatcher/Dispatcher.php(126): IPS\Dispatcher\Front->init()
#19 public_html/index.php(16): IPS\Dispatcher::i()
#20 {main}

User Feedback

Recommended Comments

Marc

Invision Community Team

Please could you provide more information? What is it you are doing when you see this error happen?

PanSevence

Clients

I'm not able to determine it I'm getting spammed with this error in the system logs. It points to the login URL: The URL of the page the error occurred on was https://myurl.com/?&_fromLogin=1.

You can check it on my website — the data is available in the client panel.

Marc

Invision Community Team

Could you please disable all 3rd party items on your site, and then let us know if this is then still happening? If so, please let us know and we can take a closer look

Esther E.

Invision Community Team
1 hour ago, PanSevence said:

The URL of the page the error occurred on was https://myurl.com/?&_fromLogin=1.

The initial report had the URL as login/?_fromLogin=1 . Can you please clarify whether the URL is specifically the one above, or is it any page with the _fromLogin parameter?

PanSevence

Clients
On 3/25/2025 at 11:17 AM, Esther E. said:

The initial report had the URL as login/?_fromLogin=1 . Can you please clarify whether the URL is specifically the one above, or is it any page with the _fromLogin parameter?

The error occurs across different URLs, not just one specific page So it seems the common factor is the ?_fromLogin=1 parameter, which is present in all cases

Esther E.

Invision Community Team

Are all the members triggering this exception in the same member group?

PanSevence

Clients
(edited)
1 hour ago, Esther E. said:

Are all the members triggering this exception in the same member group?

I'm seeing this error in multiple groups, not just a single one including the guest account. YYou can check it on my site the data in the client panel is up to date.

Edited by PanSevence

PanSevence

Clients

Any progress?

Esther E.

Invision Community Team

I can see how it happens, but I can't figure out why it happens. It's a very weird weird issue. I'm still trying to reproduce it.

Esther E.

Invision Community Team

Got it. Took a bit, but I got it.

This is a result of a secondary group missing a title for one of the language packs. If you set the group name for all languages, this should be resolved.

image.png

teraßyte

Clients

If there is no title/custom words for a string in a language pack, it should ideally fall back to using the default language pack's value. 🙄

PanSevence

Clients
On 4/18/2025 at 10:40 PM, Esther E. said:

Got it. Took a bit, but I got it.

This is a result of a secondary group missing a title for one of the language packs. If you set the group name for all languages, this should be resolved.

image.png

I’m using only one language pack for my target audience – and it’s not English.

Esther E.

Invision Community Team
12 hours ago, PanSevence said:

I’m using only one language pack for my target audience – and it’s not English.

Doesn't matter. At some point during the login process it's attempting to set the member's language, and it's hitting the English one. Perhaps because of timezone?

PanSevence

Clients

I don't know, each group has a default language set, which I use (not English, it's disabled), yet the guest has English set despite it being disabled.
Maybe that's related? I haven’t made any modifications in that area.