Bette Midler is being raked over the coals on social media after what was intended as a humourous comment apparently missed the mark.

On May 12, the “Hocus Pocus” star retweeted a comment about the shortage in baby formula from MSNBC anchor Stephanie Ruhle, who tweeted about a “secret oligopoly” in the baby formula market.

READ MORE: West Virginia Governor Responds To Bette Midler Calling Residents ‘Poor, Illiterate And Strung Out’

Midler offered her own solution to the shortage. “TRY BREASTFEEDING!” she wrote. “It’s free and available on demand.”

Midler’s tweet was immediately hit with criticism, with numerous Twitter users pointing out that many women have difficulty breastfeeding, and some aren’t able to breastfeed at all.

READ MORE: Bette Midler Hit With Backlash After Tweeting About Teens Looking At Their Phones In An Art Gallery

“Pretty heartless and horrible thing to say to women who are unable to breastfeed, Bette,” wrote one Twitter user in a representative comment. “It’s far more common than you realize … delete this.”

As Pop Crave reported, actress Julia Fox was also among those who responded, writing, “Actually bette, a lot of women can’t produce breastmilk.”

Midler later issued a second tweet to clarify after noticing people had begun “piling on.”

According to Midler, what she meant was that if a woman who can breastfeed is “somehow convinced that your own milk isn’t as good as a ‘scientifically researched product,’ that’s something else again.”