2007 Bad Boy Buggy Troubleshooting

Hello everyone,
First time posting, been looking around for the past few weeks.

I recently purchased a 2007 Bad Boy Buggy that had a few issues. The main issue is that the rear motor isn't working. The motor is brand new (tag says manufactured last month). The guy I bought it from said it just needed a solenoid based off of what his local cart shop told him. The controller is flashing a 4 fault code. I replaced the solenoid without any luck. I've checked nearly all of the wires for continuity looking for an open circuit somewhere in the system. I'm at a loss on where to look next. I've noticed that when I turn the key on, both solenoids click and close and then the rear solenoid opens back up. Could it be that the controller isn't sending continuous voltage to the solenoid which causes it to open? Any and all suggestions welcomed at this point. I'm really close to taking it in somewhere but would really like to figure it out on my own. Thanks!