HOW TO FIX THIS?

Jan 16, 2017
33
0
Error in query:
UPDATE items SET user_id = 29, room_id='' WHERE id = 5345
MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect integer value: '' for column 'room_id' at row 1


When i pickup an furniture, it emtpy my inventory, and not showing furniture. how to fix this ^
 

Xuxu

Member
Nov 21, 2016
295
59
i believe it has to do with a column in your database called "room_id" not sure what table it is found in though. you have a invalid integer for one of the rows of that column
 

Zaka

Programmer
Feb 9, 2012
471
121
It's easy... The room_id column expects an integer, a number, and you provide it with a string when you do room_id = "", even tho it's empty, it's still a string.
 

Users who are viewing this thread

Top