2017 Encore- Stabilitrack warning on screen, traction control and check engine lights on

I was driving my 2017 Encore home yesterday when on the screen came a Stabilitrack warning, and then the traction control and check engine lights came on. The car was shaking and wouldn’t accelerate. I was wondering if anyone else had this issue? What was the problem? I had AAA tow it to my local Buick dealership but they can’t look at the car for a week and a half, apparently. What makes it worse is I just had it pass NH state inspection less than 24 hours before this happened.