MySQL Error!

Date: [21:56:49] 28.07.2017 +0300

MySQL:
Query:                 select * from ds_files where module='photo' and parent in (,3,4,5,6,7,8,9,10,11,12,13,14,15) and id>'' order by id asc  limit 1
mysql_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 '3,4,5,6,7,8,9,10,11,12,13,14,15) and id>'' order by id asc  limit 1' at line 1
mysql_errno():         1064
mysql_server_info():   5.5.45-cll-lve

Script:
SCRIPT_FILELINE:       /home/profst01/public_html/modules/photo.inc.php:89
SCRIPT_FILENAME:       /home/profst01/public_html/index.php

Request:
REQUEST_URI:           /photo/domik-v-derevne/92.html
QUERY_STRING:          module=photo&id=domik-v-derevne&page=92
HTTP_REFERER:          
HTTP_HOST:             www.prof-stroi.com
REQUEST_METHOD:        GET

Server:
SERVER_SOFTWARE:       Apache/2.4.16 (Unix) OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
SERVER_PORT:           80
SERVER_NAME:           www.prof-stroi.com

User:
HTTP_USER_AGENT:       CCBot/2.0 (http://commoncrawl.org/faq/)
REMOTE_ADDR:           54.158.25.146
REMOTE_PORT:           56468