brouznouf / fivem-mysql-async

MySql Async Library for FiveM
MIT License
111 stars 106 forks source link

A little problem #75

Closed amakuu closed 5 years ago

amakuu commented 5 years ago

I have a problem, i have this for about 3 months and i still dont found the solution.

Error: (node:21746) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object at Function.values () at execute.then (mysql-async.js:5002:48) Error: (node:21746) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 36)

ghost commented 5 years ago

Update your mysql-async. This was fixed in the last patch, from Sunday.

amakuu commented 5 years ago

im sure i have update it

amakuu commented 5 years ago

do i need to clear cache or something?

ghost commented 5 years ago

Update with the version from sunday. mysql-async.js line 5002 is now a completely different one, you are not running on the newest version.