I've created a footprint for the rotary encoder, which symbol is shown below
A footprint for this element has been done by myself.
I've been getting a warning which goes like this:
"WARNING(ORCAP-2435): Number of pins in footprint 'PEC11L-4XXXF-SXXXX' and instance 'EN1' does not match."
How can I get rid of that error?