Notice: Undefined offset: 1 in /htdocs/plugins/ConcoursPhoto/publish.php on line 11
Notice: Undefined index: id in /htdocs/plugins/ConcoursPhoto/publish.php on line 32
Notice: Undefined index: name in /htdocs/plugins/ConcoursPhoto/publish.php on line 33
Notice: Undefined index: descr in /htdocs/plugins/ConcoursPhoto/publish.php on line 34
Notice: Undefined index: begin_date in /htdocs/plugins/ConcoursPhoto/publish.php on line 35
Notice: Undefined index: end_date in /htdocs/plugins/ConcoursPhoto/publish.php on line 36
Notice: Undefined index: method in /htdocs/plugins/ConcoursPhoto/publish.php on line 37
Notice: Undefined index: method in /htdocs/plugins/ConcoursPhoto/publish.php on line 38
Notice: Undefined index: category in /htdocs/plugins/ConcoursPhoto/publish.php on line 42
Notice: Undefined index: category in /htdocs/plugins/ConcoursPhoto/publish.php on line 54
Notice: Undefined index: id in /htdocs/plugins/ConcoursPhoto/publish.php on line 55
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 conc.id_concours = ORDER BY note DESC' at line 2
SELECT DISTINCT(img.id), img.name, img.file, img.path, img.author,
ic.category_id, cat.name AS catname, conc.note, conc.moyenne, conc.moderation1, conc.moderation2, conc.nbvotant FROM piwigo_images AS img INNER JOIN piwigo_image_category AS ic ON img.id = ic.image_id INNER JOIN piwigo_categories AS cat ON ic.category_id = cat.id INNER JOIN piwigo_concours_result AS conc ON conc.img_id = img.id WHERE ic.category_id = AND conc.id_concours = ORDER BY note DESC; in /htdocs/include/dblayer/functions_mysqli.inc.php on line 856
Fatal error: Uncaught Error: Call to a member function fetch_array() on bool in /htdocs/include/dblayer/functions_mysqli.inc.php:215
Stack trace:
#0 /htdocs/plugins/ConcoursPhoto/publish.php(81): pwg_db_fetch_array(false)
#1 /htdocs/plugins/ConcoursPhoto/include/Concours.class.php(2518): include('/htdocs/plugins...')
#2 /htdocs/include/functions_plugins.inc.php(264): Concours->index_concours()
#3 /htdocs/index.php(351): trigger_notify('loc_end_index')
#4 {main}
thrown in /htdocs/include/dblayer/functions_mysqli.inc.php on line 215