Why does my chocolate cake sink in the middle?

smytheys, Feb 1, 7:01pm
I have a lovely easy to make chocolate cake recipe but when I lift it out of the oven it always sinks in the middle - any suggestions gratefully recieved: thanks

dianne42, Feb 1, 8:37pm
The cake is not cooked long enough