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 '21,6,33,28,15,1,31,32,9,29)' at line 9
SELECT
id,
name,
permalink,
id_uppercat,
uppercats,
global_rank
FROM piwigo_categories
WHERE id IN (5,12,3,19,4,7,10,11,14,13,27,17,,21,6,33,28,15,1,31,32,9,29)
; in /home/dubathnekp/www/Photos/include/dblayer/functions_mysqli.inc.php on line 864
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/dubathnekp/www/Photos/include/dblayer/functions_mysqli.inc.php:930
Stack trace:
#0 /home/dubathnekp/www/Photos/include/functions_category.inc.php(752): query2array('\nSELECT\n id,...')
#1 /home/dubathnekp/www/Photos/include/menubar.inc.php(128): get_related_categories_menu(Array, Array)
#2 /home/dubathnekp/www/Photos/include/menubar.inc.php(15): initialize_menu()
#3 /home/dubathnekp/www/Photos/index.php(103): include('/home/dubathnek...')
#4 {main}
thrown in /home/dubathnekp/www/Photos/include/dblayer/functions_mysqli.inc.php on line 930