I was having a lot of "electrical issues" like shifter, trans, outside temp sensor, mirror dimmer, radio. I had these issues on a 2016 with over 300,000km it all was caused by a bad shifter knob/dial. I have the turn dial shifter.
Are you sure it's not just a bad ground or low battery? If you have a battery that is on the way out the lower power can cause sensors to get varying readings and cause messages and cel to come on.