So here is the thing, I have this early 90's 50mm lens from Nikon that fits my D5300, which only lets me shoot with the aperture ring in f/22. If I move the aperture ring on the lens, a message pops up that says: "Lock the aperture ring in the further close position", and it won't shoot unless I put it back to f/22.
Other than that, it works great. It's all manual of course, and it gives me a shorter depth of field. Any idea what might be happening?