Gcphone mysql error

Hey, I have an error with gcphone, when I type a message or send or call somebody, I get an error in console, it says [ERROR] [MySQL] [gcphone] An error happens on MySQL for query “INSERT INTO phone_messages (transmitter, receiver,message, isRead,owner) VALUES(‘police’, @receiver, ‘GPS: -2128.2749023438, -1952.4270019531’, 1, 1);”: ER_BAD_NULL_ERROR: Column ‘receiver’ cannot be null

Help anyone??!

Thats ur issue, check what its trying to input into the receiver column by printing the value.

I didn’t change anything, but I changed only the languange

I have the same problem, I changed only

es:playerLoaded

to

esx:playerLoaded

to adapt gcphone with the new esx
sync_damjan do you use also the last esx version ?

I found the solution, I made a post here:

yea, I have. I’ll take a look

Thanks man, it is working, but there is a delay when sending messages and when Im calling someone, it dosen’t ring and I get this error SCRIPT ERROR: @gcphone/server/server.lua:80: attempt to index a nil value (local ‘xplayer’)

And is this the same fix for es_admin2

I just tested this fix with another player and I have the same problem than you …
I didn’t try with es_admin2

And did u resolve it??

Not for the moment … i’m only a “beginner”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.