Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [5.4.0-alpha]: /plugins/UsersManager/Controller.php(223): Warning - Undefined array key #23102

Open
4 tasks done
atom-box opened this issue Mar 6, 2025 · 1 comment
Open
4 tasks done
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member

Comments

@atom-box
Copy link
Contributor

atom-box commented Mar 6, 2025

What happened?

In Matomo Cloud, running version Matomo 5.4.0-alpha.20250304013241
a Green Panel gives the following warning in the interface:

WARNING: /plugins/UsersManager/Controller.php(223): Warning - Undefined array key "email" - Matomo 5.4.0-alpha.20250304013241 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: UsersManager, Action: userSettings, In CLI mode: false)

What should happen?

No warning would be preferred.

How can this be reproduced?

  1. In Matomo Cloud go here:
    Admin(cog icon) >> Personal >> Settings
  2. Notice the warning
  3. No other view in Admin has the warning. Even System >> Users lacks the bug (seems to me like a bug in "UsersManager/Controller.php" would show as a bug in the Users report, right?)

Matomo version

5.4.0-alpha.20250304013241

PHP version

No response

Server operating system

In Matomo's private version of this ticket I will add more information about which users experience this.

What browsers are you seeing the problem on?

No response

Computer operating system

No response

Relevant log output

Validations

@atom-box atom-box added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Mar 6, 2025
@atom-box atom-box changed the title [Bug] WARNING: /plugins/UsersManager/Controller.php(223): Warning - Undefined array key [Bug] [5.4.0-alpha]: /plugins/UsersManager/Controller.php(223): Warning - Undefined array key Mar 6, 2025
@sgiehl
Copy link
Member

sgiehl commented Mar 10, 2025

@atom-box Do you know if the customer is using LoginLdap or LoginSaml? I wonder why the user might not have an email set 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member
Projects
None yet
Development

No branches or pull requests

2 participants