A player is unable to save their character in my server. Qb-core

Hey so I have a user who has to make a new char everytime they fly back into the server. Other players are able to save their characters.

This is the error appearing in my console:

[      script:qb-core] [qb-core:LOG] rstreetzaft PLAYER SAVED!
[      script:qb-core] [qb-core:LOG] STORM PLAYER SAVED!
[      script:qb-core] [qb-core:LOG] BIGPRESSURE💪🏾 PLAYER SAVED!
(node:21) UnhandledPromiseRejectionWarning: Error: qb-core was unable to execute a query!
Incorrect string value: '\xF0\x9F\x92\xAA\xF0\x9F...' for column `s699126_QBCORE`.`players`.`name` at row 1
INSERT INTO players (citizenid, cid, license, name, money, charinfo, job, gang, position, metadata) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE cid = ?, name = ?, money = ?, charinfo = ?, job = ?, gang = ?, position = ?, metadata = ? ["PNH30667",1,"license:4ca414d7f989104b133486b469059044a077a698","BIGPRESSURE💪🏾","{\"cash\":1000500,\"bank\":5030,\"crypto\":0}","{\"account\":\"US05QBCore8563460732\",\"backstory\":\"placeholder backstory\",\"firstname\":\"Big\",\"nationality\":\"United States\",\"birthdate\":\"2023-08-23\",\"gender\":0,\"cid\":1,\"phone\":\"8998369570\",\"lastname\":\"Pressure\"}","{\"type\":\"none\",\"grade\":{\"level\":0,\"name\":\"Freelancer\"},\"name\":\"unemployed\",\"onduty\":true,\"isboss\":false,\"label\":\"Civilian\",\"payment\":10}","{\"isboss\":false,\"grade\":{\"level\":0,\"name\":\"none\"},\"name\":\"none\",\"label\":\"No Gang Affiliaton\"}","{\"x\":289.5428466796875,\"y\":-1059.7449951171876,\"z\":29.21240234375}","{\"callsign\":\"NO CALLSIGN\",\"bloodtype\":\"A+\",\"jailitems\":[],\"craftingrep\":0,\"fitbit\":[],\"injail\":0,\"commandbinds\":[],\"tracker\":false,\"inlaststand\":false,\"thirst\":69.59999999999855,\"phonedata\":{\"InstalledApps\":[],\"SerialNumber\":15341583},\"stress\":0,\"inside\":{\"apartment\":[]},\"dealerrep\":0,\"jobrep\":{\"hotdog\":0,\"taxi\":0,\"trucker\":0,\"tow\":0},\"fingerprint\":\"ZL522K46QIE2175\",\"armor\":0,\"criminalrecord\":{\"hasRecord\":false},\"ishandcuffed\":false,\"walletid\":\"QB-75223358\",\"licences\":{\"business\":false,\"driver\":true,\"weapon\":false},\"status\":[],\"hunger\":66.39999999999418,\"isdead\":false,\"attachmentcraftingrep\":0,\"phone\":[]}",1,"BIGPRESSURE💪🏾","{\"cash\":1000500,\"bank\":5030,\"crypto\":0}","{\"account\":\"US05QBCore8563460732\",\"backstory\":\"placeholder backstory\",\"firstname\":\"Big\",\"nationality\":\"United States\",\"birthdate\":\"2023-08-23\",\"gender\":0,\"cid\":1,\"phone\":\"8998369570\",\"lastname\":\"Pressure\"}","{\"type\":\"none\",\"grade\":{\"level\":0,\"name\":\"Freelancer\"},\"name\":\"unemployed\",\"onduty\":true,\"isboss\":false,\"label\":\"Civilian\",\"payment\":10}","{\"isboss\":false,\"grade\":{\"level\":0,\"name\":\"none\"},\"name\":\"none\",\"label\":\"No Gang Affiliaton\"}","{\"x\":289.5428466796875,\"y\":-1059.7449951171876,\"z\":29.21240234375}","{\"callsign\":\"NO CALLSIGN\",\"bloodtype\":\"A+\",\"jailitems\":[],\"craftingrep\":0,\"fitbit\":[],\"injail\":0,\"commandbinds\":[],\"tracker\":false,\"inlaststand\":false,\"thirst\":69.59999999999855,\"phonedata\":{\"InstalledApps\":[],\"SerialNumber\":15341583},\"stress\":0,\"inside\":{\"apartment\":[]},\"dealerrep\":0,\"jobrep\":{\"hotdog\":0,\"taxi\":0,\"trucker\":0,\"tow\":0},\"fingerprint\":\"ZL522K46QIE2175\",\"armor\":0,\"criminalrecord\":{\"hasRecord\":false},\"ishandcuffed\":false,\"walletid\":\"QB-75223358\",\"licences\":{\"business\":false,\"driver\":true,\"weapon\":false},\"status\":[],\"hunger\":66.39999999999418,\"isdead\":false,\"attachmentcraftingrep\":0,\"phone\":[]}"]
    at @oxmysql/dist/build.js:22275:11
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
(node:21) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
[ citizen-server-impl] Server list query returned an error:

say player to change him FiveM name

or modify mysql to change incorrect word

1 Like

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