Noise Gate - AUv3 Validation Error

I’m trying to build the NoiseGate example plugin that you have for AUv3.
The plugin builds but crashes when validating with auval.

The error that shows is:
In the format test : ERROR: Initialised Unit incorrectly set to InputChans:3 OutputChans:1

Any help on how to solve this?