This happens when the option "Is company ceased?" is selected while generating a new accounting period. 

You may click on the "Continue" option from the action drop-down to add a new accounting period as desired.

Please refer below screenshot for more help.

Click here to watch how to add a prior accounting period