[Plugin] help with mysql plugin error - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Plugin] help with mysql plugin error (/showthread.php?tid=2149) |
help with mysql plugin error - Lyonkrs - 2021-07-01 The error log Code: cache_delete:?invalid?cache?id?'0' This is my Pawn Code: Code: CMD:actorlist(playerid, params[]) The system is works perfectly but why it's giving error? RE: help with mysql plugin error - Pinch - 2021-07-01 It's not working perfectly because you're not deleting the cache. Code: actorlist = mysql_query(SQLHandle, query); RE: help with mysql plugin error - Kwarde - 2021-07-03 What Pinch said. Quote:cache_delete: invalid cache id '0' Invalid cache occurs when the cache doesn't exist. This can be because a wrong cache id was used (which is so in your case, because you never set the cache id to variable "actorlist") or if there is are no results from your query. |