I had this problem on 3rd ride! and the electric cable from the rear wheel had simply disconnected at a point a few inches along where there is a socket it plugs into. I cannot see this socket on your photo, mine is a D30, but have a look and simply plug back in.