-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Bug] Failed to fetch albums list when go to Albums - also can't add photos to albums #1398
Comments
{
"reqId": "HFVz7RvLO6tHg8Gbmj0E",
"level": 3,
"time": "2022-10-14T20:53:10+00:00",
"remoteAddr": "78.9.155.233",
"user": "Marcin",
"app": "webdav",
"method": "PROPFIND",
"url": "/remote.php/dav/photos/Marcin/albums/",
"message": "OCA\\Photos\\Album\\AlbumFile::__construct(): Argument #8 ($owner) must be of type string, null given, called in /var/www/nextcloud/apps/photos/lib/Album/AlbumMapper.php on line 202",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0",
"version": "25.0.0.17",
"exception": {
"Exception": "TypeError",
"Message": "OCA\\Photos\\Album\\AlbumFile::__construct(): Argument #8 ($owner) must be of type string, null given, called in /var/www/nextcloud/apps/photos/lib/Album/AlbumMapper.php on line 202",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/photos/lib/Album/AlbumMapper.php",
"line": 202,
"function": "__construct",
"class": "OCA\\Photos\\Album\\AlbumFile",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/photos/lib/Album/AlbumWithFiles.php",
"line": 81,
"function": "getForAlbumIdAndUserWithFiles",
"class": "OCA\\Photos\\Album\\AlbumMapper",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/photos/lib/Album/AlbumWithFiles.php",
"line": 51,
"function": "fetchFiles",
"class": "OCA\\Photos\\Album\\AlbumWithFiles",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/photos/lib/Sabre/Album/AlbumRoot.php",
"line": 131,
"function": "getFiles",
"class": "OCA\\Photos\\Album\\AlbumWithFiles",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/photos/lib/Sabre/Album/PropFindPlugin.php",
"line": 116,
"function": "getChildren",
"class": "OCA\\Photos\\Sabre\\Album\\AlbumRoot",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php",
"line": 95,
"function": "OCA\\Photos\\Sabre\\Album\\{closure}",
"class": "OCA\\Photos\\Sabre\\Album\\PropFindPlugin",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/apps/photos/lib/Sabre/Album/PropFindPlugin.php",
"line": 116,
"function": "handle",
"class": "Sabre\\DAV\\PropFind",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "propFind",
"class": "OCA\\Photos\\Sabre\\Album\\PropFindPlugin",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 1052,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 984,
"function": "getPropertiesByNode",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 1662,
"function": "getPropertiesIteratorForPath",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 1647,
"function": "writeMultiStatus",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
"line": 346,
"function": "generateMultiStatus",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "httpPropFind",
"class": "Sabre\\DAV\\CorePlugin",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 472,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/dav/lib/Server.php",
"line": 360,
"function": "exec",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php",
"line": 35,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/nextcloud/remote.php",
"line": 167,
"args": [
"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/var/www/nextcloud/apps/photos/lib/Album/AlbumFile.php",
"Line": 40,
"message": "OCA\\Photos\\Album\\AlbumFile::__construct(): Argument #8 ($owner) must be of type string, null given, called in /var/www/nextcloud/apps/photos/lib/Album/AlbumMapper.php on line 202",
"exception": {},
"CustomMessage": "OCA\\Photos\\Album\\AlbumFile::__construct(): Argument #8 ($owner) must be of type string, null given, called in /var/www/nextcloud/apps/photos/lib/Album/AlbumMapper.php on line 202"
}
} |
Just updated to Nextcloud 25.01. There is same problem.
|
I had the same problems and was hoping it would be over with a release for NC 25. Unfortunately, that was not the case. Regards, Friedbert |
@GitWidi It was the solution. Thank You! |
I faced the same issue. |
Describe the bug
When clicking on albums in photo app there is box with information Failed to fetch albums list, and "An error occured" message in the center.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Show albums.
Screenshots





Desktop (please complete the following information):
Browser log
Additional context
Nextcloud log: nextcloud.log
The text was updated successfully, but these errors were encountered: