Here's my advice: Unless someone explicitly asks for your advice, don't offer advice. Maybe not even then.
When I tell someone about a problem, I am not asking for advice. I am asking to be heard and understood. I do not want or need someone else to solve my problems... unless I... more.