Modify error message when publishing an object that cannot be published ?
It seems that not all object can be published.
Perhaps you can remove the publish action for these object (or color it in grey) or change the error message if you try to publish it, that is for the moment
Example for a Learning Path object :
"No location found" (see attached)
It's hard to understand for users.