nextcloud / notes

✎ Distraction-free notes and writing
https://apps.nextcloud.com/apps/notes
GNU Affero General Public License v3.0
623 stars 133 forks source link

recurring log error in Nextcloud snap version 30.0.2snap1 #1418

Open scubamuc opened 1 week ago

scubamuc commented 1 week ago

recurring log error in Nextcloud snap version 30.0.2snap1

[PHP] Fehler: Undefined array key "_route" at /var/snap/nextcloud/45124/nextcloud/extra-apps/notes/lib/Service/SettingsService.php#110
    PUT /index.php/apps/notes/settings
[PHP] Fehler: Undefined array key "_route" at /var/snap/nextcloud/45124/nextcloud/extra-apps/notes/lib/Service/SettingsService.php#110
    PUT /index.php/apps/notes/settings

Steps to reproduce

  1. install nextcloud snap version 30.0.2snap1
  2. edit notes in notes app in browser
  3. see recurring PHP log errors

Expected behaviour

notes app should not create recurring log entries

Actual behaviour

notes app causes recurring log entries. Please note, the notes app seens to work fine. Default configuration for path to notes /notes/ is changed to /Documents/Notes-MD/

Screenshots

Image

Server

Please complete the following information.

Nextcloud configuration:

Image

Client

Please complete the following information.

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

{"reqId":"lSBRVfMoBedfiSdzwFKq","level":3,"time":"2024-11-13T12:21:43+00:00","remoteAddr":"93.104.236.xx","user":"user","app":"PHP","method":"PUT","url":"/index.php/apps/notes/settings","message":"Undefined array key \"_route\" at /var/snap/nextcloud/45124/nextcloud/extra-apps/notes/lib/Service/SettingsService.php#110","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0","version":"30.0.2.2","data":{"app":"PHP"}}
{"reqId":"lSBRVfMoBedfiSdzwFKq","level":3,"time":"2024-11-13T12:21:43+00:00","remoteAddr":"93.104.236.xx","user":"user","app":"PHP","method":"PUT","url":"/index.php/apps/notes/settings","message":"Trying to access array offset on value of type null at /var/snap/nextcloud/45124/nextcloud/extra-apps/notes/lib/Service/SettingsService.php#110","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0","version":"30.0.2.2","data":{"app":"PHP"}}
{"reqId":"lSBRVfMoBedfiSdzwFKq","level":3,"time":"2024-11-13T12:21:43+00:00","remoteAddr":"93.104.236.xx","user":"user","app":"PHP","method":"PUT","url":"/index.php/apps/notes/settings","message":"Undefined array key \"_route\" at /var/snap/nextcloud/45124/nextcloud/extra-apps/notes/lib/Service/SettingsService.php#110","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0","version":"30.0.2.2","data":{"app":"PHP"}}
{"reqId":"lSBRVfMoBedfiSdzwFKq","level":3,"time":"2024-11-13T12:21:43+00:00","remoteAddr":"93.104.236.xx","user":"user","app":"PHP","method":"PUT","url":"/index.php/apps/notes/settings","message":"Trying to access array offset on value of type null at /var/snap/nextcloud/45124/nextcloud/extra-apps/notes/lib/Service/SettingsService.php#110","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0","version":"30.0.2.2","data":{"app":"PHP"}}
JuliaKirschenheuter commented 17 hours ago

Dear @scubamuc,

Thank you for your reporting! We will have a look in this issue.

scubamuc commented 15 hours ago

@JuliaKirschenheuter thanks for taking the time to look at this

We will have a look in this issue.

if you require access to a fresh snap install, i could give you access to my testing environment. please let me know if the nextcloud-snap team can assist