I\'m getting this weird error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column \'0\' in \'field list\' (SQL: update forum_threads set
forum_threads
I had a double condition in WHERE
ContestPool::where(['contest_id', '=', $contest_id], ['user_id', '=', $user_id])->delete();
I fixed adding brackets for both conditions
ContestPool::where([['contest_id', '=', $contest_id], ['user_id', '=', $user_id]])->delete();