It's a common joke in Mathematics that the way to get lots of citations is to publish a paper with a subtle error - then every "someone was wrong on ~the internet~ _a paper_" type will cite you with suggested corrections.
But maybe there are other factors that make it a net negative? (I haven't really followed academia since concluding my studies.)
Beware. It's a common trick on forums not entirely unlike this one.