Warning: [mysql error 1064] 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 ')) AND (category_id NOT IN (92,96,101,105,146,289,290,291,292,293,387,437,590,' at line 5 SELECT DISTINCT(id) FROM piwigo_images i INNER JOIN piwigo_image_category AS ic ON id = ic.image_id LEFT JOIN piwigo_image_tag AS it ON id = it.image_id WHERE (category_id IN ()) AND (category_id NOT IN (92,96,101,105,146,289,290,291,292,293,387,437,590,781,782,5032,5034,956,1112,1153,1154,1163,1235,1280,1302,1369,1375,1393,5005,5006,1462,1470,1531,1640,1641,1642,1643,1644,1645,1646,1647,1648,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1765,1766,1767,1768,1769,1770,1771,1772,1773,1774,1775,1776,1777,1778,1779,1780,1782,1783,1784,1785,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1806, in /var/www/piwigo.lucnix.be/include/dblayer/functions_mysqli.inc.php on line 847

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/piwigo.lucnix.be/include/dblayer/functions_mysqli.inc.php:908 Stack trace: #0 /var/www/piwigo.lucnix.be/include/functions.inc.php(1640): query2array('\nSELECT DISTINC...', NULL, 'id') #1 /var/www/piwigo.lucnix.be/include/functions_search.inc.php(457): array_from_query('\nSELECT DISTINC...', 'id') #2 /var/www/piwigo.lucnix.be/include/functions_search.inc.php(1696): get_regular_search_results(Array, '') #3 /var/www/piwigo.lucnix.be/include/section_init.inc.php(364): get_search_results('psk-20240722-Tm...', NULL) #4 /var/www/piwigo.lucnix.be/index.php(12): include('/var/www/piwigo...') #5 {main} thrown in /var/www/piwigo.lucnix.be/include/dblayer/functions_mysqli.inc.php on line 908