A rescue team warned beachgoers not to enter a "very deep hole" that has appeared on the coast.