Warning: [mysql error 1064] 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 '2562,2490,848)' at line 3

SELECT id, name, permalink
  FROM viewingmalta_categories
  WHERE id IN (2692,2693,2966,2969,2569,2581,,2562,2490,848) in /home/www/viewingmalta/include/dblayer/functions_mysqli.inc.php on line 830
Fatal error: Call to a member function fetch_assoc() on a non-object in /home/www/viewingmalta/include/dblayer/functions_mysqli.inc.php on line 883