This is probably a problem with profiles. I rebuilt the project without profiles, and it started working.
I Get mixHeaderClass Error in New Version
-
I videotaped the part of the code where I got the error. I will be glad if you watch
https://www.youtube.com/watch?v=DZOLeUfE6CQ