random_album_id = '' causes exception in /gallery in LiveWire #2539
-
Lychee versionmain, +6731535 Which PHP version are you using?PHP 8.3 Detailed description of the problemIf the config I have traced the cause down to the $randomAlbumId = Configs::getValueAsString('random_album_id');
$album = resolve(AlbumFactory::class)->findAbstractAlbumOrFail($randomAlbumId); I am not familiar enough with the codebase to come up with a good fix myself. I would like to think if the album ID is empty, then frame access is allowed unless there's no image to be shown. Steps to reproduce the issue
Diagnostics [REQUIRED]
Browser & System [REQUIRED]Arch Linux, Firefox Please confirm (incomplete submissions will not be addressed)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, thank you for your report. That bug will be gone (hopefully) once I releave v6. Nevertheless, that is an oversight. I think I will need to make a config check in the diagnostics for that one. :/ |
Beta Was this translation helpful? Give feedback.
-
Should be fixed in v6. :) |
Beta Was this translation helpful? Give feedback.
Should be fixed in v6. :)