I guess I should add, that this code is in a separate php file, that I am calling within functions.
What do you mean by this? you are calling the "create_post_type_project()" from within another file?
Are you adding this custom post type from a functions.php file in a child theme? Or are you coding a plugin or a theme?