you can correct it in two ways if the principal and secretary is the same then it will be as such:
The Principal and Secretary was present in the meeting yesterday.
and other when the duo are different then it will be as such
the principal and the secretary were present in the meeting yesterday.