MYSQL [ERROR] cache_get_row_int - invalid data type
#1

Hi everyone, This warning is constantly logged in the mysql_log file. Whenever a new player enters, this error is rewritten.

In my mysql_log File;
Code:
[18:11:07] [ERROR] cache_get_row_int - invalid data type
[09:51:44] [ERROR] cache_get_row_int - invalid data type
[13:23:07] [ERROR] cache_get_row_int - invalid data type
[13:27:51] [ERROR] cache_get_row_int - invalid data type
[13:33:13] [ERROR] cache_get_row_int - invalid data type
[13:35:14] [ERROR] cache_get_row_int - invalid data type
[13:55:48] [ERROR] cache_get_row_int - invalid data type
[13:56:55] [ERROR] cache_get_row_int - invalid data type
[13:58:01] [ERROR] cache_get_row_int - invalid data type
[14:03:16] [ERROR] cache_get_row_int - invalid data type
[14:09:00] [ERROR] cache_get_row_int - invalid data type
[19:51:01] [ERROR] cache_get_row_int - invalid data type
[19:55:40] [ERROR] cache_get_row_int - invalid data type
[20:01:00] [ERROR] cache_get_row_int - invalid data type
[20:12:10] [ERROR] cache_get_row_int - invalid data type
[20:16:44] [ERROR] cache_get_row_int - invalid data type
[20:34:01] [ERROR] cache_get_row_int - invalid data type
[20:36:13] [ERROR] cache_get_row_int - invalid data type
In my gamemode lines;
https://imgur.com/cgCeSyL

And my mysql database;
https://imgur.com/5MbcIzn
Reply
#2

`email` is not an integer.

pawn Code:
//native cache_get_row(row, field_idx, destination[], connectionHandle = 1, max_len = sizeof(destination));
cache_get_row(0, 15, PlayerInfo[playerid][Email], dbHandle, 128);
Use the same way for `LastIP` and `RegIP`.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)