Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load a empty table in getset #1

Closed
PaulWillBanYou opened this issue Dec 12, 2018 · 2 comments
Closed

Can't load a empty table in getset #1

PaulWillBanYou opened this issue Dec 12, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@PaulWillBanYou
Copy link

C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\protocol\Parser.js:80
throw err; // Rethrow non-MySQL errors
^

TypeError: Cannot read property 'forEach' of undefined
at Query.connection.query (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\better-mysql\src\client\database.js:56:18)
at Query. (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\Connection.js:502:10)
at Query._callback (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\Connection.js:468:16)
at Query.Sequence.end (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\protocol\sequences\Sequence.js:83:24)
at Query.ErrorPacket (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\protocol\sequences\Query.js:90:8)
at Protocol._parsePacket (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\protocol\Protocol.js:278:23)
at Parser.write (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\protocol\Parser.js:76:12)
at Protocol.write (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\protocol\Protocol.js:38:16)
at Socket. (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\Connection.js:91:28)
at Socket. (C:\Users\Eigenaar\Desktop\DMM Bot\node_modules\mysql\lib\Connection.js:502:10)
PS C:\Users\Eigenaar\Desktop\DMM Bot>

@Paultje52 Paultje52 self-assigned this Dec 12, 2018
@Paultje52 Paultje52 added the bug Something isn't working label Dec 12, 2018
@Paultje52
Copy link
Owner

I found the bug. The reason why it's appearing is because there is nothing in the database. Go to your PhPMyAdmin, go to the database, then to the table that you want to load in the getset extender and then make a new row.
K = Temp
V = This will be deleted soon

Then you can use getset. Then you set other data in your database, you can delete or overwrite temp.

This bug will be fixed in version 2.6, it will be released tomorrow. Sorry!

@Paultje52 Paultje52 changed the title bug Can't load a empty table in getset Dec 12, 2018
@Paultje52
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants