Skip to content

Conversation

@enjeck
Copy link
Contributor

@enjeck enjeck commented Aug 21, 2025

We can get the exception: Trying to access array offset on null at /opt/nextcloud/apps/notes/lib/Service/SettingsService.php#118

Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
if ($name === 'notesPath' && $value !== null) {
continue;
}
if (!array_key_exists($name, $this->attrs)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does mean that an unknown setting value is being stored, right? Should we log those cases instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants