I am writing it down here for my own reference, and if you ever ran into this problem, hope that this can help you fix your problem quickly.
The problem is I had a datagrid column with the Header but not the Binding, for example
This will cause the below error at
To fix it, all I had to do is to put the Binding in it
Hope this helps