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 '381)' at line 3
SELECT id, name, permalink
FROM piwigo_categories
WHERE id IN (,381)
; in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php:900
Stack trace:
#0 C:\xampp\htdocs\include\functions_category.inc.php(193): query2array('\n SELECT id, n...', 'id')
#1 C:\xampp\htdocs\include\functions_url.inc.php(536): get_cat_info('381')
#2 C:\xampp\htdocs\include\section_init.inc.php(115): parse_section_url(Array, 2)
#3 C:\xampp\htdocs\index.php(12): include('C:\\xampp\\htdocs...')
#4 {main}
thrown in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php on line 900