Warning: [mysql error 1054] Unknown column 'rank' in 'order clause' SELECT DISTINCT id FROM piwigo_images WHERE id IN (68) AND date_available BETWEEN '2017-12-01' AND '2017-12-31 23:59:59' ORDER BY date_available ASC, `rank` ASC in /home3/cdcom/public_html/piwigo/include/dblayer/functions_mysqli.inc.php on line 847

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home3/cdcom/public_html/piwigo/include/dblayer/functions_mysqli.inc.php:908 Stack trace: #0 /home3/cdcom/public_html/piwigo/include/functions.inc.php(1551): query2array('SELECT DISTINCT...', NULL, 'id') #1 /home3/cdcom/public_html/piwigo/include/functions_calendar.inc.php(296): array_from_query('SELECT DISTINCT...', 'id') #2 /home3/cdcom/public_html/piwigo/include/section_init.inc.php(571): initialize_calendar() #3 /home3/cdcom/public_html/piwigo/index.php(12): include('/home3/cdcom/pu...') #4 {main} thrown in /home3/cdcom/public_html/piwigo/include/dblayer/functions_mysqli.inc.php on line 908