'Func-def not allowed...' error on IR MP3 controller

Yes, that is an indication of a problem, but without code, we can't tell what it is.
Consistent indentation helps greatly identifying problems like this.