"Compass Varience" error during the entire flight + crash due to sudden turn on landing

I have Cube Orange with Plane 4.0.9, dual Here3 GPS, TF Mini Plus Lidar and Matek I2C Pitot tube.

I keep getting a compass variance error on the plane. Also on the last flight, when everything was fine, on landing suddenly the plane turned to the right and crashed.

Here’s my flight log:

https://drive.google.com/drive/folders/10RBjstVa3x_DijpNJHRP3FRu4CcjQQf3?usp=sharing