Updated

Comedian Louis C.K.’s trailer for his new film “I Love You, Daddy” has generated controversy online due to the movie’s theme and its timing following the sexual misconduct allegations against Hollywood producer Harvey Weinstein.

The controversial film debuted last month at the Toronto Film Festival to positive reviews.

The film stars the comedian as a wealthy writer whose teenage daughter, played by Chloe Grace Moretz, comes to live with him in his apartment. At an event, Moretz and C.K. meet a well-known writer-director, played by John Malkovich, who was infamous for dating younger women.

Moretz and Malkovich begin dating which horrifies C.K. due to her age.

DONNA KARAN ON HARVEY WEINSTEIN REMARKS: ‘I REGRET IT FROM THE BOTTOM OF MY HEART’

“She’s a minor!” C.K. is seen yelling to Malkovich in the trailer.

The black-and-white film appeared to pay homage to Woody Allen’s 1979 film, “Manhattan,” which also focused on a relationship between a teenager and an older man.

Media outlets, such as Esquire, Slate and Paste, noted the timing of the trailer makes it controversial. A number of A-list actresses have claimed Weinstein raped, assaulted or harassed them.

Slate called the trailer “icky” while Esquire wrote, “Now is not the time for this Louis C.K. movie.”

Social media users took to Twitter to blast the film’s trailer.

“It’s honestly a bit shocking to see how tone deaf Louis C.K. is in 2017 because he was once a comedian ahead of the curve in so many ways,” one social media user tweeted.

“That uncomfortable moment when you start to discover that Louis C.K. is slowly becoming Woody Allen,” another Twitter user wrote.

C.K. told The Hollywood Reporter last month, “It’s just a f--king movie. We’re depicting oxygen-rich people who live in these beautiful apartments and offices saying whatever they want. Folks say s--t to each other. You can’t think about the audience when you’re making the thing. If you do, you’re not giving them something that came out of your gut. You’ll be making something that you’re like, ‘Is this OK for you?’ And they say, ‘Yes, thank you.’ Mark Twain said something like, ‘You can’t say no one can eat steak just because the baby doesn’t have teeth yet.'”

REESE WITHERSPOON REVEALS DIRECTOR SEXUALLY ASSAULTED HER AT AGE 16

Like Weinstein, the comedian has also been accused of sexual misconduct by female comedians. Gawker published an article two years ago detailing the allegations against Louis C.K. while writer and comedian Tig Notaro told the Daily Beast in August that the comedian needed to “handle the allegations.”

On Wednesday, Megan Koester wrote an article for Vice alleging she was shut down from a story she was writing regarding the sexual misconduct rumors surrounding the comedian.

“I made my move on the red carpet of the awards show,” Koester wrote. “One by one, I would ask a conveyor belt of comedians, all men, 'How do you feel about the Cosby allegations?' They would all, invariably, claim to be disgusted by the man's misdeeds. I would then follow up with 'How do you feel about the Louis C.K. allegations?' They would all, invariably, claim ignorance.”

The film is slated to be released on Dec. 1.