My D90 also got the ERR message and the camera froze. This happened a few times! I read somewhere the problem was with the SDHC. I was using the fastest SanDisk (Ultra?). I changed to another brand and the problem hasn't happened since. I have also recently been using a SanDisk 15MB/s without problems.
Hope this helps.
Hope this helps.