D7000 mirror flapping

My Nikon D7000 when I press the shutter the mirror noisily flaps up and down – nothing else happens.
Err in display. Not possible to take a picture.
Aperture and Shutter wheels not operating.
What caused this? No idea as I sold the camera and it was brought back next day in this sad state!
Would greatly appreciate advise.