Listen, if Phil's character is encouraging anything, it's that a marriage is a two way street where compromises have to be made. Also, it encourages fathers to not just police their kids, but to motivate them to express themselves and follow their dreams and hobbies. He touts himself as a "the cool dad" because in today's society, it isn't enough (and never was) for a father to just police the kids and have the kids afraid of the father. Sure, a father must be strict at times, but never so that the kids are terrified of him. As far as Phil, look how Carlton turned out lol. Also, Uncle Phil's role was different. His job wasn't to make us laugh. That was Will's and Jazzy Jeff's job. In the case of Modern Family, Phil is depended on to provide the laughs. They all provide the laughs, but he's the best at it and that's why most people like him the most. If you're making the argument that entertainment encourages and condones bad behavior, then you have no argument with how Phil's character is portrayed. He's not really a dope, like Pittsey says, he's the corny tries-to-be-cool dad that comically fails to be the cool dad. We all had friends whose dads were kinda like that. I never thought it was a bad thing and the kids turned out alright.
As far as rap music encouraging ___________ , I just don't buy into it. You were infatuated with guns, so why didn't you buy a gun and shoot someone? Oh, perhaps, I don't know, good parenting? A father figure at home? It couldn't be, right?...yeah.
I see 18 year olds nowadays who I remember being 5-6 years old in my neighborhood. They all smoke weed and love Wiz Khalifa lol. Sure, he was an influence, yeah, but even without Wiz, these kids would have been smoking weed and drinking. Teenagers smoked weed and drank long before rap music (or jazz or rock n roll) told them to. So that argument is just lame as fuck.