Type tpt.getscript(1, "autorun.lua", 1) into the console to get the latest version of the script manager. Then use that to get the latest version of tptmp. You probably have an out of date script.
If you still get it, post again with the new line number it errors on.
Edit: someone provided me with the wrong line 110, I see what night cause the problem now. Perhaps delete the scripts/downloaded folder. You will have to redownload all your scripts.
Great! I don't know what could have caused that, but I'll make it not fail so badly in the future. It somehow forgot what the script ID for script was.