Today I installed the update to 1.17.2, since then a database error appears in the log file with every cron job. When I switch off the archiver, the error disappears.
I also pressed the save button in the plugin window, no error message
This is the error in log file:
[INSERT INTO ost_config SET key = 'last-run', value = 1668676461, updated = NOW()] Duplicate entry 'last-run' for key 'namespace'
Today I installed the update to 1.17.2, since then a database error appears in the log file with every cron job. When I switch off the archiver, the error disappears.
I put "Signal::send('ticket.before.delete', $this)..." in Class.Ticket and also tried this: https://github.com/clonemeagain/osticket-plugin-archiver/issues/22
I also pressed the save button in the plugin window, no error message
This is the error in log file: [INSERT INTO
ost_config
SETkey
= 'last-run',value
= 1668676461,updated
= NOW()] Duplicate entry 'last-run' for key 'namespace'---- Ablaufverfolgung ----
#0 (root)/include/mysqli.php(207): osTicket->logDBError('DB Error #1062', '[INSERT INTO
o...')<br /> #1 (root)/include/class.orm.php(3482): db_query('INSERT INTO
os...', true, true)#2 (root)/include/class.orm.php(658): MySqlExecutor->execute()
#3 (root)/include/class.config.php(181): VerySimpleModel->save(true)
#4 (root)/include/class.config.php(114): ConfigItem->save()
#5 (root)/include/class.config.php(124): Config->create('last-run', 1668676461)
#6 (root)/include/class.config.php(89): Config->update('last-run', 1668676461)
#7 (root)/include/plugins/osticket-plugin-archiver-master/class.ArchiverPlugin.php(79): Config->set('last-run', 1668676461)
#8 (root)/include/plugins/osticket-plugin-archiver-master/class.ArchiverPlugin.php(54): ArchiverPlugin->autoPurge()
#9 (root)/include/class.signal.php(98): ArchiverPlugin->{closure}(NULL, Array)
#10 (root)/scp/autocron.php(66): Signal::send('cron', NULL, Array)
#11 {main}
Does anyone have any ideas?