Skip to content

Error on SQL save due tu column 'seq' dosen't exist, but it does #331

Description

@arno-st

on Cacti 1.2.31, and syslog 4.2

I'm getting some error of this kind:
27/08/2026 15:44:25 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog_process.php[213]:syslog_process_alerts(), /plugins/syslog/functions.php[1333]:syslog_process_alert(), /plugins/syslog/functions.php[1642]:syslog_log_alert(), /plugins/syslog/functions.php[945]:syslog_sql_save(), /plugins/syslog/database.php[222]:sql_save())

27/08/2026 15:44:25 - DBCALL ERROR: SQL Save on table 'syslog_prod.syslog_logs': Column 'seq' does not exist, unable to save!

I have a separate Database for syslog, it's look like the alert log is empty.

I manually made a query to check that the column exist, (like done in /lib/database.php) and it does.
I can't find why this error show up.
I thinks it's happen after the upgrade to 1.2.31, but even that I can't find in the code what is wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions