Its pretty simple. Field "last_login" doesn't have a value like "TRUE" or "FALSE" or "0" or anything else. So you need to set a value for that field and it will work.
You'll need to set this in your database.
This is a correct field:
PHP Code:
`last_login` datetime NOT NULL default '0000-00-00 00:00:00',
0000-00-00 00:00:00 is the default value