Skip to content

Fix undefined node array key, using folder instead#1783

Open
Simounet wants to merge 1 commit intonextcloud:mainfrom
Simounet:fix/undefined-node-array-key
Open

Fix undefined node array key, using folder instead#1783
Simounet wants to merge 1 commit intonextcloud:mainfrom
Simounet:fix/undefined-node-array-key

Conversation

@Simounet
Copy link
Member

@Simounet Simounet commented Mar 19, 2026

Hi there,
It fixes the error on /apps/notes/notes API calls:

"message":"Undefined array key \"node\" at /var/www/nextcloud/apps/notes/lib/Service/NoteUtil.php#201"

Because it's the folder key that's defined in SettingsService.php instead of node.

Have a nice day.

Fixes #1784

Signed-off-by: Simounet <contact@simounet.net>
Copy link

@DerDreschner DerDreschner left a comment

Choose a reason for hiding this comment

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

Tested on Nextcloud 33.0.0 with PHP 8.5 and fixes the issue!

@adam-wujtewicz
Copy link

I also was dealing with this recently. And tested it on Ubuntu 22.04 Nextcloud 32.0.6 php8.3. This change fixes:

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.

notes dashboard widget empty with version 4.13.1

3 participants