An exception occurred in shop's script

  • Error type: MySQL Error
  • Source, line: Parser::tws_filters_brand[400]
  • Error message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') GROUP BY iv.id' at line 5
 SELECT iv.id, COUNT(1) num
                    FROM  ms_store s, ms_store_info sif, ms_info_value iv
                    WHERE  s.kind_key='kDefault' AND s.no_visible=0 AND s.id=sif.store_id AND iv.id=sif.value_id
                        AND sif.info_id IN (71,82,60,38,57,40,15,58,61,72,73,74,76,183,185,187,188,0)
                        AND s.id IN ()
                    GROUP BY iv.id