I have had this running for some time in my test systems and have made changes to line 23; line 75; line 481 485
line 23 is undefined index -> insert @ as first character in the line
lines 73 & 74 undefined index -> comment the lines out
lines 481 and 485 have undefined variables html_button ->insert @ as first character on the lines

Hope this helps