{"action":"created","issue":{"url":"https://api.github.com/repos/mysqljs/mysql/issues/1445","repository_url":"https://api.github.com/repos/mysqljs/mysql","labels_url":"https://api.github.com/repos/mysqljs/mysql/issues/1445/labels{/name}","comments_url":"https://api.github.com/repos/mysqljs/mysql/issues/1445/comments","events_url":"https://api.github.com/repos/mysqljs/mysql/issues/1445/events","html_url":"https://github.com/mysqljs/mysql/issues/1445","id":161254567,"number":1445,"title":"Error on parser ( TypeError: Cannot read property 'ban' of undefined )","user":{"login":"DanteSparda3556","id":20050334,"avatar_url":"https://avatars.githubusercontent.com/u/20050334?v=3","gravatar_id":"","url":"https://api.github.com/users/DanteSparda3556","html_url":"https://github.com/DanteSparda3556","followers_url":"https://api.github.com/users/DanteSparda3556/followers","following_url":"https://api.github.com/users/DanteSparda3556/following{/other_user}","gists_url":"https://api.github.com/users/DanteSparda3556/gists{/gist_id}","starred_url":"https://api.github.com/users/DanteSparda3556/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanteSparda3556/subscriptions","organizations_url":"https://api.github.com/users/DanteSparda3556/orgs","repos_url":"https://api.github.com/users/DanteSparda3556/repos","events_url":"https://api.github.com/users/DanteSparda3556/events{/privacy}","received_events_url":"https://api.github.com/users/DanteSparda3556/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mysqljs/mysql/labels/question","name":"question","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-20T17:52:09Z","updated_at":"2016-06-20T18:40:19Z","closed_at":null,"body":"```\r\nhandshake complete\r\nLogged in!\r\n[SERVER] Trade offer incoming\r\n/var/www/bot/node_modules/mysql/lib/protocol/Parser.js:78\r\n        throw err; // Rethrow non-MySQL errors\r\n        ^\r\n\r\nTypeError: Cannot read property 'ban' of undefined\r\n    at Query._callback (/var/www/bot/sell.js:589:21)\r\n    at Query.Sequence.end (/var/www/bot/node_modules/mysql/lib/protocol/sequences/Sequence.js:85:24)\r\n    at Query._handleFinalResultPacket (/var/www/bot/node_modules/mysql/lib/protocol/sequences/Query.js:144:8)\r\n    at Query.EofPacket (/var/www/bot/node_modules/mysql/lib/protocol/sequences/Query.js:128:8)\r\n    at Protocol._parsePacket (/var/www/bot/node_modules/mysql/lib/protocol/Protocol.js:280:23)\r\n    at Parser.write (/var/www/bot/node_modules/mysql/lib/protocol/Parser.js:74:12)\r\n    at Protocol.write (/var/www/bot/node_modules/mysql/lib/protocol/Protocol.js:39:16)\r\n    at Socket.<anonymous> (/var/www/bot/node_modules/mysql/lib/Connection.js:109:28)\r\n    at emitOne (events.js:77:13)\r\n    at Socket.emit (events.js:169:7)\r\n```"},"comment":{"url":"https://api.github.com/repos/mysqljs/mysql/issues/comments/227231019","html_url":"https://github.com/mysqljs/mysql/issues/1445#issuecomment-227231019","issue_url":"https://api.github.com/repos/mysqljs/mysql/issues/1445","id":227231019,"user":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T18:40:19Z","updated_at":"2016-06-20T18:40:19Z","body":"Hi @DanteSparda3556, this error is not related to this module, rather you have an error in your file `/var/www/bot/sell.js` on line 589, where you have an undefined variable and are trying to access the `ban` property on it."}}
{"actor":{"display_login":"dougwilson"}}