Corrupted APK or insufficient storage. Fix: Delete unnecessary files (old photos, cache, unused apps) and retry. Ensure you have at least 150 MB of free internal storage.
While 5.1.1 is technically "above" 5.0, WhatsApp frequently updates its encryption and features, often making the app unstable or impossible to install on hardware from that era (typically devices from 2014-2015).