Neil Patrick Harris faced criticism following a resurfaced photo of his Halloween party, where a cake platter that looked like late singer Amy Winehouse was served. The party was held in 2011 and the resurfaced photos made the actor look insensitive in the light of the late singer's tragic death.

"A photo recently resurfaced from a Halloween-themed party my husband [David Burtka] and I hosted 11 years ago," Harris told Entertainment Weekly on Monday. "It was regrettable then, and it remains regrettable now. Amy Winehouse was a once-in-a-generation talent, and I'm sorry for any hurt this image caused."

The image resurfaced online last week when a writer named Ashley Reese tweeted the photo, which depicts a decomposing corpse with a cigarette in the mouth, and called it "disgusting." Many fans commented that this kind of a platter was "cruel" and disturbing." The tweet was later deleted.

A Twitter user shared the resurfaced photo:

The Halloween party was just a few months after the death of Winehouse in July 2011 at the age of 27. The singer had admitted during her interviews in the past regarding drug and alcohol abuse, eating disorders, depression and self-harm.

The singer's cause of death was alcohol poisoning. Considering her career, she won five Grammy Awards for her music album, "Back To Black" in 2008.

Harris, on the other hand, was last seen in projects like "It's a Sin," "Eden," "Star Wars: Visions," "8-Bit Christmas," "F Is for Family" and "The Matrix Resurrections" last year. He was recently featured in an action-comedy movie, "The Unbearable Weight of Massive Talent," which was dropped last month.

The "How I Met Your Mother" actor will be next seen in projects like "Billion Dollar Babies: The True Story of the Cabbage Patch Kids," "Uncoupled" and "Anita."

On the personal front, Harris got married to Burtka in 2014. The couple share twin kids - Harper Grace, 11, and Gideon Scott, 11. Harris and Burtka celebrated their anniversary last month. The actor shared a photo of hugging his husband on Instagram.

"Our first date was 18 years ago today. And David Burtka, I am not about to let you go," he captioned the post. "Happy anniversary. Thank you for showing me the capacity of my heart. I love you so much."

Burtka also shared a photo of them on his Instagram handle to celebrate the anniversary.

Neil Patrick Harris
Executive producer and star Neil Patrick Harris participates in the NBCUniversal "Best Time Ever With Neil Patrick Harris" panel at the Television Critics Association (TCA) Summer 2015 Press Tour in Beverly Hills, California August 13, 2015. REUTERS/Jonathan Alcorn