I am into Training with my agency to understand how to use Collector. I am using ArcMap 10.7.1 and when I followed the steip and start to publish it to AGOL from ArcMap I had an error came up

I have looked it up through here but found none...
00001: Data frame does not have layers—ArcMap | Documentation
Does anyone tell me why did I get the message an error ?