Usually this will occur when an entry date has been entered in a holiday which means it looks like the student was on role during the period that the census is looking at.
For example when spring census is looking at attendance between 1st August and 31st December and you have a student with an entry date of 31st August who started at the beginning of this academic year it will result in this error.
To resolve this error you would click fix error which will take you to the student's extended tab on their profile. On this page check the entry date under the core information heading, edit and save at the bottom of the page. The entry date ought to be the first day the student has attendance data at your school.