ERROR: Field "Task" doesn't have a default Value

Hi!
I am getting lately this Error when new Player’s want to Create there Char’s

Code


local newPlayer = 'INSERT INTO `users` SET `accounts` = ?, `identifier` = ?, `group` = ?'

So my Question is, which Default Values shouldi put in there?

Thanks for any Help!

What script use the information stored on tasks field? For know what can add as default value…

Also, try to modify your users table and set the tasks field allow null; That should fix that issue easily…

I think maybe it is the Core Credits Script. I will check it. I stopped it and i will restart the Server. We will see

It was this Script. I deletet some Tables and deleted the Script. Everthing is good now!

Take in mind if someday you will need to use again the Core Credits script the suggestion of above (and also, the devs of that script will know better what can be the default value for add it on your INSERT query) ^^,

1 Like

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