Fatal Error: ELAB2_0036 Unresolved hierarchical reference to "a.m.send.connect./0/" from module "env" (module not found)

In reply to chr_sue:

Thank you, it worked. but I don’t understand why. monitor_2 had an analysis port, monitor didn’t have. why when I added to monitor the analysis port, it worked?