Your map contains schematic layers coming from different schematic datasets. The schematic layers referenced in the map must share the same schematic dataset when packaging or publishing.
Solution
Verify the schematic datasets related to each schematic layer referenced in the map, and remove all the schematic layers coming from different schematic datasets.
If you want to package or publish schematic layers that reference different schematic datasets, you must author different maps.