datetime sometimes is small T and sometimes is capital T

dateTime
datetime

which one is it? everything IS case-sensitive

Check other column names too .... "catagory" is spelled...