question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined binding

See original GitHub issue

Tried to dispute a market

[2018-07-23 11:45:24.433] [error] getter error:  Error: Undefined binding(s) detected when compiling SELECT query: select `markets`.*, `market_state`.`reportingState` as `reportingState`, `blocks`.`timestamp` as `creationTime` from `markets` left join `market_state` on `markets`.`marketStateId` = `market_state`.`marketStateId` left join `blocks` on `markets`.`creationBlockNumber` = `blocks`.`blockNumber` where `markets`.`marketId` in (?)
    at QueryCompiler_SQLite3.toSQL (/Applications/Augur.app/Contents/Resources/app/node_modules/augur-node/node_modules/knex/lib/query/compiler.js:151:13)
    at Builder.toSQL (/Applications/Augur.app/Contents/Resources/app/node_modules/augur-node/node_modules/knex/lib/query/builder.js:115:44)
    at /Applications/Augur.app/Contents/Resources/app/node_modules/augur-node/node_modules/knex/lib/runner.js:52:32
    at tryCatcher (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/util.js:16:23)
    at /Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/using.js:185:26
    at tryCatcher (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:693:18)
    at Promise._fulfill (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:638:18)
    at PromiseArray._resolve (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise_array.js:126:19)
    at PromiseArray._promiseFulfilled (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise_array.js:144:14)
    at Promise._settlePromise (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:574:26)
    at Promise._settlePromise0 (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/Applications/Augur.app/Contents/Resources/app/node_modules/bluebird/js/release/promise.js:693:18)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pgebheimcommented, Jul 23, 2018

Hey @page1 – Thanks for this report I’m looking into it now.

0reactions
page1commented, Jul 24, 2018

We can close this for now if you like. I haven’t seen this again (Also haven’t tried to dispute anything else) I or someone else can repost if seen again in next dispute round.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error "undefined binding" Refreshing Workbooks or Extracts in ...
Existing extracts based on joins break with this error when one of the fields used to join is not available in the data...
Read more >
Undefined binding detected - postgresql - Stack Overflow
I'm trying to get data from my PostgreSQL database via Knex to my front end, but I get this error: Error: Undefined binding(s)...
Read more >
Undefined - Binding of Isaac: Rebirth Wiki - Fandom
Undefined is an unlockable activated item. Teleports Isaac to the Treasure Room, the Secret Room, the Super Secret Room or I AM ERROR....
Read more >
Strange "Undefined binding(s) detected" error message #3723
Error: Undefined binding(s) detected for keys [] when compiling RAW query: insert into "test" ("fields", "id") values (?, ?)
Read more >
Code Inspection: Undefined binding - PhpStorm - JetBrains
Code Inspection: Undefined binding. Last modified: 05 December 2022. Configure inspections: Settings / Preferences | Editor | Inspections.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found