SAN FRANCISCO — Some Facebook users received an unsettling shock Friday.

Many of the social-media site’s users saw their Facebook profile page topped with a message that referred to the process for “memorializing” the page of someone who has passed away. The message said Facebook hoped the users’ loved ones would find comfort in seeing posts that others shared about them.

Even Facebook CEO Mark Zuckerberg’s page had the death notice.

Facebook did not immediately respond to a request for comment on the problem. But it appears that the company may already have fixed the glitch.