This error arises when the Lowest year group recorded in your School Details table is higher than the Highest year group.
To amend this go to Admin > Config > Core Setup > School (then Edit). Or click on your school name at the top right of ScholarPack.
Select the appropriate Highest and Lowest year groups from the drop down menus next to the Year Group fields and click Update at the base to save once completed.