- Fix your environment so that development matches (testing and) production.
Actually, this is the only option that will fix the problem. The others are just band-aids on a broken bone.
The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. -- Cyrus H. Gordon