[BUG] Photos, browsing nested folders randomly crash (something went wrong)

Server Version#: 1.41.4.9421
Player Version#: 4.145.0 (hosted)

When browsing trough the photo library with nested folders (ex. 3 levels). PlexWeb will randomly throw a JS error and show Something went wrong. Refreshing the page (F5) solves the problem and the photos are shown in the folder.

Looking at the browser devtools the following error(s) are shown in the console.

426-426-80524e501be6….145.0-fdef097.js:2 
 TypeError: Cannot read properties of undefined (reading 'getCollection')
    at metadata/metadataList/deselectAllMetadataListItems (main-8792-a75bbc9114…fdef097.js:2:781819)
    at e (main-8792-a75bbc9114…def097.js:2:3315960)
    at n.<computed> [as dispatchDeselectAllMetadataListItems] (426-426-80524e501be6…def097.js:2:1964436)
    at S.componentWillUnmount (main-8792-a75bbc9114…def097.js:2:2637581)
    ...
{
  "type": "[object Error]",
  "stack": "TypeError: Cannot read properties of undefined (reading 'getCollection')\n    at metadata/metadataList/deselectAllMetadataListItems (https://app.plex.tv/desktop/js/main-8792-a75bbc9114f1a47a3ba2-plex-4.145.0-fdef097.js:2:781819)\n    at e (https://app.plex.tv/desktop/js/main-8792-a75bbc9114f1a47a3ba2-plex-4.145.0-fdef097.js:2:3315960)\n    at n.<computed> [as dispatchDeselectAllMetadataListItems] (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1964436)\n    at S.componentWillUnmount (https://app.plex.tv/desktop/js/main-8792-a75bbc9114f1a47a3ba2-plex-4.145.0-fdef097.js:2:2637581)\n    at hl (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1024324)\n    at pl (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1023417)\n    at hl (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1024498)\n    at pl (https://app.plex.tv/desktop/js/426-426-80524e50...",
  "name": "TypeError",
  "message": "Cannot read properties of undefined (reading 'getCollection')"
}

UPDATED:
Ex. the library is mapped to the following folder: X:\photos

X:\photos\*.jpg (contains photos and subfolders)
X:\photos\subfolder\*.jpg (contains photos and subfolders)
X:\photos\subfolder\subfolder (contains only subfolders)
X:\photos\subfolder\subfolder\box-01\*.jpg (contains only photos)
X:\photos\subfolder\subfolder\box-02\*.jpg (contains only photos)

The crash occurs when browsing X:\photos\subfolder\subfolder\box-XX. Third level subfolder with photos.

I’m running in to this as well, I have 2 folders in photos that get this error. Thank you for the F5 workaround, that worked.

Hello anyone? … I know photos has absolute minimum priority, but it is still a bug :thinking:

The photo application on Android devices has not been updated for a year. Now Plex has upgraded and separated the photo function, but the photo application is still basically unusable. It will definitely report an error when switching videos and will not be able to play.

This appears to have been fixed, I’ve been able to view photos in folders nested 4 deep without having to refresh.

1 Like

This has been fixed by 4.146.0

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.