#45 Error when no photos exist under a label

Closed
opened 1 year ago by aheathershaw · 1 comments

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 1 year ago
aheathershaw self-assigned this 1 year ago
aheathershaw added the
bug
label 1 year ago
aheathershaw commented 1 year ago
Owner
Migrated from https://github.com/andysh-uk/blue-twilight/issues/45
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.