Yeah, it happens all the time with people who base their decisions solely on unverified sources (ie "the internet").
For example I previously mentioned not having to stop and talk to the police if there is no crime. While this is true, it does come with a catch and if you don't educate yourself you can make a bad choice. When I said you don't have to stop, It doesn't mean that you don't have to stop only if you don't feel like there is a crime. There may be some crime that you don't know about, which would require you to stop. Maybe it's an offense unwittingly committed by you or an offense committed by someone who matches your description that they're investigating. You need to base your decisions on complete and verifiable information that you understand fully. If you take internet advice, without educating yourself fully, you can get in trouble even though you think you're right.
A more common example, to relate to an automotive forum, is people driving 5-10 over the posted limit. When foreigners come to the United States, people will inevitably tell them they can drive ## mph over the posted speed limit. They have no reason to not believe their friends, and in fact can see the common flow of traffic supports it. They are trying to be a good person, and doing what is permitted/normal but then they get pulled over for speeding because they were given bad advice.
So yes, good people get in trouble all the time because they take bad advice. Educate yourself by going to the source. If you're looking at gun laws (since that's where we started), I'd look at your state's law books, or your state Attorney General's website. Although convenient, I wouldn't trust gun apps, or pro-gun websites (CCW app, NRA site, etc). Check the law for yourself, not their interpretation of it.