Hard to know exactly, but based on the errors, you probably put the fix code in the wrong function. When he says find "dailyLactation" there are 2 cases, it looks like you put it after the first rather than the second.
It's not the simplest instructions for those who don't know how to code. You were supposed to find the code that starts with "#Pressure Stress and Swelling" and ends with "#Keep the Secret (if Possible)" and put the fix there. The code you are replacing should be very similar to the fix.