yagpdb-cc icon indicating copy to clipboard operation
yagpdb-cc copied to clipboard

Database/reset: dbresetkey: Cannot give argument to non-function $dbcount

Open l-zeuch opened this issue 2 years ago • 3 comments

As I'm not sure what the intention behind that code was, I'm hesitant to open a pull request. However, this error has been showing up for several users, including me. See the screenshot for a full break down.

image of error

Relevant code: https://github.com/BlackWolfWoof/yagpdb-cc/blob/1c70dfe51d557054f7193ecdb00b2eb05e18ffd4/Database_Management/reset/dbresetkey.yag#L60

As we can see, it is not an issue on user's end, rather an issue on the code side -- perhaps a missing or slipped parenthesis.

l-zeuch avatar Sep 19 '21 15:09 l-zeuch

For me it works perfectly fine. I have no idea where the error might be. Any idea what could have happened?

BlackWolfWoof avatar Oct 02 '21 16:10 BlackWolfWoof

I mean i know it has to do with .ExecData.key but that is just ($args.Get 0)

BlackWolfWoof avatar Oct 02 '21 16:10 BlackWolfWoof

Did I ever fix this? Note to myself check if it is fixed

BlackWolfWoof avatar Nov 28 '21 11:11 BlackWolfWoof