Sqlite: db.transaction is not a function

Hi,
when using sqlite like this

sqlList[0]=[“SELECT * from table_labeller ORDER BY ip;” ,dbLabellerRecords_dataHandler];
Sql(dbLogoMon, sqlList);

I get this error message in javascript console.

Error encountered:
Uncaught TypeError: db.transaction is not a function
Url: http://127.0.0.1:54402/Logopak_Monitor/nsb/library/appstudioFunctions.js
Line: 158
Column: 8
Fehler beim Laden der Quell Zuordnung durch devtools: Der Inhalt für http://127.0.0.1:54402/Logopak_Monitor/toolbox/bs4/dist/css/bootstrap.min.css.map konnte nicht geladen werden: HTTP Fehler: Statuscode 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

appstudioFunctions.js:158 Uncaught TypeError: db.transaction is not a function

at Sql (appstudioFunctions.js:158)
at initDB (code.js:264)
at Main (code.js:246)
at (Index):228

What is wrong?

This means your database is not properly initialized. Check how you are setting dbLogoMon.