This error will occur when there is no School details present in your school table.
If you go to Admin > Config > Core set Up > School, or click on your school name at the top right of ScholarPack, you will find the School Details Table. Check that all details are correct regarding your school; click on Edit to input any missing data.