Hey gamers, I was getting an identical error so here is a fix.
Go to your factorio mod folder: C:\Users\ YOURNAME\AppData\Roaming\Factorio\mods
Open: WideChests_3.0.4\prototypes\entity.lua
Replace this line: max_health = data.max_health * math.min(width * height, 10),
With this line: max_health = 1000,
Hit Save, and factorio will load
Every merg chest will have 1000 health. I would give a better fix, but I don't program in lua. I hope this helps.