MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1366 - Incorrect integer value: '' for column 'firstpost' at row 1
Query:
UPDATE mybb_threads SET `firstpost`='' WHERE tid='101400'