Copter rolled onto its side on takeoff

Hello, I am trying to diagnose an issue with a quad on 3.4.6. The quad rolled over upon intiating an auto takeoff. I see in the dataflash log that there was an EKF error pretty much right at the beginning of the log. Any input into what caused the error? I’m currently assuming that the culprit for that caused the roll-over.

Thanks!

7.BIN (839.2 KB)