Skip to content

Fix undefined node array key, using folder instead#1783

Merged
solracsf merged 1 commit intonextcloud:mainfrom
Simounet:fix/undefined-node-array-key
Mar 28, 2026
Merged

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

Conversation

@Simounet
Copy link
Copy Markdown
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
Copy Markdown

@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
Copy Markdown

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

@solracsf
Copy link
Copy Markdown
Member

@CarlSchwan regression from #1614

@solracsf solracsf requested a review from CarlSchwan March 26, 2026 16:52
@solracsf solracsf added bug Something isn't working feature: dashboard Related to Nextcloud dashboard 4. to release bug: regression labels Mar 26, 2026
@solracsf solracsf merged commit 1e3dd4f into nextcloud:main Mar 28, 2026
34 checks passed
@iasdeoupxe
Copy link
Copy Markdown

iasdeoupxe commented Mar 28, 2026

Fixes #1784

Seems #1792 and #1795 as well?

@stefangweichinger
Copy link
Copy Markdown

patched my nc-33.0.1, seems to quiet it down, thanks

@Simounet Simounet deleted the fix/undefined-node-array-key branch March 30, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release bug: regression bug Something isn't working feature: dashboard Related to Nextcloud dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global search of nextcloud does not search in notes since v4.13.1 notes dashboard widget empty with version 4.13.1

6 participants