Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/elsmith/public_html/projects/include/ on line 72

Notice: Trying to access array offset on value of type null in /home/elsmith/public_html/projects/include/ on line 151

Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php74) in /home/elsmith/public_html/projects/include/ on line 149

Deprecated: Function create_function() is deprecated in /home/elsmith/public_html/projects/include/ on line 2124

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 'ASC' at line 7 SELECT DISTINCT(image_id) FROM piwigo_image_category INNER JOIN piwigo_images ON id = image_id WHERE category_id = 12 AND (category_id NOT IN (13)) ORDER BY rank ASC ; in /home/elsmith/public_html/projects/include/dblayer/ on line 832

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/elsmith/public_html/projects/include/dblayer/ Stack trace: #0 /home/elsmith/public_html/projects/include/ query2array('\nSELECT DISTINC...', NULL, 'image_id') #1 /home/elsmith/public_html/projects/index.php(27): include('/home/elsmith/p...') #2 {main} thrown in /home/elsmith/public_html/projects/include/dblayer/ on line 893