@Ana Claricia the message is pointing to an error in an associated script.
If it's truly "any" transaction it may be something out of your control as it's fairly unusual to have a script deployed against every type and could be a core script or bundle such as drag and drop.
You may need to go to the scripted records view for a specific transaction type and look through each scripts logs to see if there's anything there that looks suspect.