string(113) "SELECT * FROM `s_collection_chpic` WHERE `status'='ok' AND (`custom_emoji` IS NULL OR `custom_emoji` IN ('','0'))"
Fatal error: Uncaught mysqli_sql_exception: 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 'custom_emoji` IS NULL OR `custom_emoji` IN ('','0')) AND (`nsfw` IS NULL OR `nsf' at line 1 in /home/c/cq13259/chpic.su/public_html/functions.php:161 Stack trace: #0 /home/c/cq13259/chpic.su/public_html/functions.php(161): mysqli_query(Object(mysqli), 'SELECT * FROM `...') #1 /home/c/cq13259/chpic.su/public_html/tpl/stickers_collections.php(8): db_getcollections_page(171, 'date', 'desc', '40', Array) #2 /home/c/cq13259/chpic.su/public_html/index.php(98): require_once('/home/c/cq13259...') #3 {main} thrown in /home/c/cq13259/chpic.su/public_html/functions.php on line 161