Adding An Empty Script to DropDown Causing NullReferenceExeption Error

Hi, So I have a drop down TMP, that when I add a script to it, even though its an empty new script, I start getting the following error:

Thanks in advance

Additional note: Removing the script does not get rid of the error, I would have to remove it by CTRL + Z (Undo).