In my mind this film got panned because people didn't want to look at how banal and superficial their lives REALLY are. Is it flawed... certainly but I really enjoyed it. It has enough comedy to keep you entertained while taking a hard look at some very serious yet unpleasant issues.
Plus I just have to add that I don't think i've ever seen a Melanie Griffith film that to me would rate less than 4 stars. But by the same token I don't own any of her films because neither are any of them 5 star films but they're all good.