Skip to content

Undefined array key #19

@fmperry

Description

@fmperry

Since adding a door sensor to my Ecobee system the software generates the following error on every run. Thermostat data is loaded correctly, just have noise in the logs and an entry in the error_log table for every run.

{
    "code": 2,
    "message": "Undefined array key \"dw:100\"",
    "file": "\/home\/mike\/proj\/sqlbee\/bin\/sqlbee.php",
    "line": 708,
    "backtrace": [
        {
            "file": "\/home\/mike\/proj\/sqlbee\/bin\/sqlbee.php",
            "line": 708,
            "function": "error_handler",
            "class": "sqlbee\\sqlbee",
            "type": "->",
            "args": [
                2,
                "Undefined array key \"dw:100\"",
                "\/home\/mike\/proj\/sqlbee\/bin\/sqlbee.php",
                708
            ]
        },
        {
            "file": "\/home\/mike\/proj\/sqlbee\/bin\/sqlbee.php",
            "line": 573,
            "function": "sync_runtime_report_",
            "class": "sqlbee\\sqlbee",
            "type": "->",
            "args": [
                1,
                1748416800,
                1748435402
            ]
        },
        {
            "file": "\/home\/mike\/proj\/sqlbee\/bin\/cron.php",
            "line": 22,
            "function": "sync_runtime_report",
            "class": "sqlbee\\sqlbee",
            "type": "->",
            "args": [
                1
            ]
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions