You would have needed to provide screenshots of the installation error for us to know what happened. And now you’ll need to provide Log.txt from X-Plane after it crashes. However I suspect you need to do a full uninstall and reinstall to begin to solve the issue.
Once you’re down to those levels the sensors are unreliable and not all fuel in the tanks is even usable. You should be planning to land with 4,000 lbs, obviously something went rather wrong in your fuel planning.