To fix this error, simply turn off the phone then enter Recovery mode (Volume Up + Power Button) and delete the cache. If you have a custom recovery, navigate to Advanced > Wipe Dalvik Cache then reboot. If your phone is rooted, install Root Browser then delete the .android_secure
folder on your internal and external storage and you'll be able to update/install WhatsApp again.