Probably a conflict with one of the several other mods I'm running, it has been working fine for a long time, but it started throwing this error now. if the error is helpful for you then good, if not feel free to ignore it :) Cheers
The mod No "inventory is full" corpse pickup troubles (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event no--inventory-is-full--corpse-pickup-troubles::on_pre_player_mined_item (ID 11)
LuaItemPrototype doesn't contain key inventory_size_bonus.
stack traceback:
[C]: in function 'index'
...-inventory-is-full--corpse-pickup-troubles/control.lua:3: in function 'is_better_armor'
...-inventory-is-full--corpse-pickup-troubles__/control.lua:24: in function <...-inventory-is-full--corpse-pickup-troubles__/control.lua:11>