MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

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