Are the pins that you provided in the listing all valid GPIO pins? Make sure that they are and not assigned to another peripheral or a GND or POWER pin.
You can also start by first including one pin at a time to the list to see which pin is causing the issue. For example, start with this:
IntensitySelect_Pins = (22)
then:
IntensitySelect_Pins = (22,24) # and so on until you have all of the pins
You might have to start with a different order to zoom in on the pin that is the source of the error.
Which numbering system are you using? BOARD or BCM?
“errata” refers to known issues with products (in this case your board) that were not caught and fixed during the development and verification phase and end up showing up in production units (units that make it to the market for consumers). Once an issue is made aware to the manufacturer, they’re added to a published list of known “erratas”. Which is another way of saying known errors with the product.
This pin might be a known issue to the manufacturer. If it is, they might be able to provide a workaround. You will have to check with whoever manufacturers this board for additional information.
says “The ID_SC and ID_SD pins must only be used for attaching a compatible ID EEPROM. Do not use ID_SC and ID_SD pins for anything except connecting an ID EEPROM, if unused these pins must be left unconnected”.
If you did try to use them, don’t be surprised if the RaspberryPi tried to use them to check for a HAT at boot time.
You can see that pin 22 is labelled GPIO 6, pin 24 is labelled GPIO 10/CE0 (SPI) and pin 26 is labelled GPIO 11/CE1 (SPI), but pin 28 is labelled SCL0 (I2C IS EEPROM) without any GPIO number.