My field is signal processing (and i've published quite a few papers), but my take on what papers are is a little different. Their purpose was originally, and i think still, a way for researchers to communicate problems they have solved to other researchers. The fact that some subset of papers turns out to be wrong, or that the public doesnt understand them is immaterial. The repositories of knowledge about which papers are good, and which are bad are the research labs. Ask a professor at a research lab which papers have results that can't be reproduced, and which are high quality, and they'll know immediately.
When there are statements in the article "Such results erode confidence in academic work", the confidence is only eroded in the papers that are bad, which is how it has always worked. Confidence isn't lost in every paper, or the scientific process, but laypeople and administrators see some stat about "30%" of papers have some error, then all of must science is wrong.