Notice: Undefined index: archive_timeout in /var/www/piwigo/plugins/BatchDownloader/include/events.inc.php on line 269
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 7
DELETE i
FROM pbwc_download_sets_images AS i
INNER JOIN pbwc_download_sets AS s
ON i.set_id = s.id
WHERE
status != "done" AND
date_creation < DATE_SUB(NOW(), INTERVAL HOUR)
; in /var/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 864
Notice: Undefined index: archive_timeout in /var/www/piwigo/plugins/BatchDownloader/include/events.inc.php on line 278
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 5
UPDATE pbwc_download_sets
SET status = "done"
WHERE
status != "done" AND
date_creation < DATE_SUB(NOW(), INTERVAL HOUR)
; in /var/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 864