I can confirm that this bug is a constant issue in Shipwrecked since the Hamlet update.
I tried uninstalling mods and even reinstalling the game. 6 of my save games are just broken and needed to be deleted because of this exact lua error that constantly happens around day 5 to 7 for me, which is odd because snakes have appeared many times earlier in the save but only later on will it crash repeatedly.
You don't even need to hit the vines with a machete for it to happen. I think just random snakes loading in or out will cause it to crash.