This query is linked to the Phase entered on the School Details table, and a student being out of the age range for this phase.
If you head to Admin > Config > Core Setup > School (or click on the school name in the top right corner of ScholarPack, above the student search box), you will see the School Details table. Check the Phase and School Type in this table.
If you click on Edit the table provides descriptive details, with a dropdown menu to enable you to amend the information.
If you go to the student profile where the Query is raised, check the year group at the top of their extended tab. It may be the student's year group is wrong, or the phase needs to be amended to incorporate this year group. In this example the student is set to Year 7, but the school phase is primary. Amend either the School Table (click Update to save) or the student year group on the extended tab (and save at the base of the tab).