SQL Error: Table 'animalgrad.prefix_gallery_competition_image_vote' doesn't exist at /var/www/animalgrad/classes/modules/gallery/mapper/Gallery.mapper.class.php line 407
Array ( [code] => 1146 [message] => Table 'animalgrad.prefix_gallery_competition_image_vote' doesn't exist [query] => SELECT ci.*, i. image_filename, i. image_extension, u.user_id as image_user_id, u.user_login as competition_image_user_login, a.album_id as competition_image_album_id, civ.count_vote as vote_count FROM prefix_gallery_competition_image ci INNER JOIN prefix_gallery_image i on (ci.image_id = i.image_id) INNER JOIN prefix_gallery_album a on (i.album_id = a.album_id) INNER JOIN prefix_user u on (a.album_user_id = u.user_id) LEFT OUTER JOIN ( SELECT count(vote_id) count_vote, competition_id, competition_image_id FROM prefix_gallery_competition_image_vote as iv GROUP BY competition_id, competition_image_id ) as civ on (civ.competition_id = ci.competition_id and civ.competition_image_id = ci.competition_image_id) WHERE ci.competition_id = 3 [context] => /var/www/animalgrad/classes/modules/gallery/mapper/Gallery.mapper.class.php line 407 )