I have my s4 about 2 years and i've just started getting this "no sim" error. I'm out of warranty so tried a factory reset and the error was still there so hardware issue.
So i tore a corner off and a4 page, folded it once and placed it on top of the sim card and placed both back into the sim...