Error 500

CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1525 Incorrect DATE value: '0000-00-00'