Sounds like you have a script trigger that refers to that deleted script.
Enter layout mode and select Layout Setup...
Click the script triggers tab and remove the reference to your related script--probably an OnRecordLoad trigger from what you describe.
Found it after quite some puzzling. I have a Dutch version of FM and it is not always that clear how the English phrases are translated.