-
Notifications
You must be signed in to change notification settings - Fork 199
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
Errors in the Nextcloud log when using the Subsonic XML API on NC28 #1142
Comments
Thanks for the report. This looks very similar to the issue #1139. In that case, the client is making a slightly incorrect request, but I now tested and it seems to be irrelevant for the case. For me, this seems to happen on each Subsonic API call on NC28.0.2 but not on NC27.1.2. Apparently Nextcloud has changed something and I need to adapt. |
Every call to the Subsonic XML API caused and error 'Undefined array key "" at /var/www/html/lib/private/AppFramework/Http.php#128' to be logged to the nextcloud.log. This happened because the XmlResponse object had no response status set. Setting this used to happen automatically, but after the Nextcloud PR nextcloud/server#38802, the automatic setting has not happened without a call to the parent class constructor from the derived class. However, we can't call the parent constructor because it doesn't exist on ownCloud. To overcome the problem, we now set the status code explicitly in the constructor of XmlResponse. refs #1142
Further investigation revealed that this happened when calling the Subsonic XML API but not with the JSON API. The culprit seems to be the Nextcloud PR nextcloud/server#38802 which changed the behavior of the |
The fix is now released in Music v1.11.0. |
I get thousands of error messages per week in the log when using the Amperfy client.
See BLeeEZ/amperfy#233 (comment)
The text was updated successfully, but these errors were encountered: