Officials ordered the beach to close and issued warnings to indicate that the area has hazardous swimming conditions