Error when no photos exist under a label #45

Closed
opened 2018-07-27 16:40:27 +01:00 by aheathershaw · 1 comment
Owner

When a label view is accessed, but the label doesn't have any photos tagged with it, the following exception is thrown:

[2017-09-17 09:46:13] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function count() on array in /srv/www/blue-twilight/app/Http/Controllers/Gallery/LabelController.php:67
When a label view is accessed, but the label doesn't have any photos tagged with it, the following exception is thrown: ``` [2017-09-17 09:46:13] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function count() on array in /srv/www/blue-twilight/app/Http/Controllers/Gallery/LabelController.php:67 ```
aheathershaw added this to the Version 2.1.0 milestone 2018-07-27 16:40:27 +01:00
aheathershaw self-assigned this 2018-07-27 16:40:27 +01:00
aheathershaw added the
bug
label 2018-07-27 16:40:27 +01:00
Author
Owner
Migrated from https://github.com/andysh-uk/blue-twilight/issues/45
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aheathershaw/blue-twilight#45
No description provided.