That’s OK. Perfectly reasonable thing to do. I just wanted to be sure there was nothing more complicated going on with the error.
So, the fix is easy. In the file kiwitrees/includes/functions/functions_db.php. line 1368 looks like this:
KT_DB::prepare(“DELETE FROM ##message
WHERE user_id=?”)->execute(array($user_id));
Just delete it.