Copter crashing while taking off in drone kit

The drone is working fine during manual takeoff and loitering.

But it’s flipping while trying to take off using drone kit.

Drone kit version:2.9.2
Arducopter 4.0.7

Plese help !!

Log file