Custom Post Type Causes Error: Warning: call_user_func_array()

what’s the add action at the bottom doing? It’s not required for setting up CPTs, just the setup bit you have running on init…. I believe that is what’s throwing the error

I have to make it an answer. It was a suggestion, but if it worked for you, I’ll make my comment an answer, then you can accept it!