hi all i have a e60 m5 2007 model, recently i have been having some issues with the smg
the car shift perfectly 1-5 skip 6th gear and jumps to the 7th gear, so i parked the car and traveled i got back yesterday ,and drove it today as soon as it got to the 6th gear the car shut off until the yellow sign disappears what could be the problem ? is it the valve body ? or something else

- - - Updated - - -

update the car would turn off as soon as i put it in gear either its d or reverse