This error means that you have not reconciled the cashbook balance against a bank statement balance. At least one reconciliation needs to be done for each bank, unless the bank account/s has been flagged as 'Never to be reconciled' in the chart of accounts. This is not recommended.
Click on the Reconcile toolbar item, choose the relevant bank and do a reconciliation to the end of the financial year.