Klaida!

DB error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND si.ComponentType='UserPhoto'' at line 1 Failed query:SELECT COUNT( DISTINCT si.OwnerId) as Count FROM UserPhotos up LEFT JOIN SecurityInformation si ON si.ComponentId=up.Id WHERE Category IN () AND si.ComponentType='UserPhoto' .
Stack trace: #0 /home/bustovizij/domains/bustovizija.lt/public_html/Templates/BustoVizija/Component/DataStructures/UserPhoto/UserPhotoCollectionUniqueAuthorsView.php(13): UserPhotoCollection::getUniqueAuthorsCount(1577) #1 /home/bustovizij/domains/bustovizija.lt/public_html/Class/BaseView.php(45): UserPhotoCollectionUniqueAuthorsView->PrepareTemplate() #2 /home/bustovizij/domains/bustovizija.lt/public_html/Class/BaseView.php(75): BaseView->FetchTemplate() #3 /home/bustovizij/domains/bustovizija.lt/public_html/Class/FrontController.php(160): BaseView->getContent() #4 /home/bustovizij/domains/bustovizija.lt/public_html/index.php(9): FrontController->getView('') #5 {main}