Skip to content

Error in SQLitePlugin.js #1023

@ppetree

Description

@ppetree

I'm back at this and realized I had opened this issue 4+ years ago.

Here's my console.log output (lines marked with * are my functions):

  • inside init_db
    OPEN database: serAlerts
    OPEN database: serAlerts - OK
  • creating the table after db open serCreateTable
    serCreateTable executing callback
  • init_db callback serFindFirstserFindLast
  • serGetUnreads

Now, leave the app (not a hard close) and return to the app screen then reenter the app and this is what I get:
(this is output from the SQLitePlugin.js)
database already open: serAlerts

ERROR:TypeError: success is not a function. (In 'success(_this)', 'success' is undefined)
URL: app://localhost/plugins/cordova-sqlite-storage/www/SQLitePlugin.js
Line: 171
Column: 18
Error Object: {}

Suggestions?

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