I have some code like this
$editStuState = StuAtt::where(\'studentId\' , \'=\' , $id)->first(); $editStuState -> leave +=1; $editStuState -
I have the same problem, but I changed the column name to creation_date , the problem solved.
creation_date