Skip to content

Cannot read property 'firstChild' of undefined #9

@Skoo84

Description

@Skoo84

deverror.txt
I reinstalled my Magic Mirror, and I'm getting the following error with Your module. I simplified the query as much as possible to run it for sure, also no other module is present, but 'alert'.

    at Class.replaceTableRows (MMM-MysqlQuery.js:140)
    at Class.socketNotificationReceived (MMM-MysqlQuery.js:130)
    ...

My config file:

modules: [
		{
			module: "alert",
		},
       {
            module: "MMM-MysqlQuery",
            config: {
                connection: {
                    host: "xxxxxx.ctjatm9stcxs.eu-central-1.rds.amazonaws.com",
                    port: 3306,
                    user: "xxxxxxxxxx",
                    password: "xxxxxxxxxxx",
                    database: "nodemcuweather"
                },
                query: "SELECT id, temp FROM production;",
	    			intervalSeconds: 15 * 60,
                emptyMessage: "No spices",
                columns: [
                   { name: "id"      },
	                    { name: "temp"    }
			
                ]
            }
        }
]

I attached my dev log, which gets the results correctly.
log.txt
config.txt
deverror.txt

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