Notice: Undefined index: day in /var/www/virtual/ on line 750

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 ')' at line 3 SELECT id, name, permalink FROM pi_categories WHERE id IN () in /var/www/virtual/ on line 856

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/virtual/ Stack trace: #0 /var/www/virtual/ query2array('\nSELECT id, nam...', 'id') #1 /var/www/virtual/ hash_from_query('\nSELECT id, nam...', 'id') #2 {main} thrown in /var/www/virtual/ on line 909