Cooldown widget, errors on SetCooldown

You are somehow passing it a nil. Make sure you are getting the proper duration since some API in classic e.g. don’t return spell ranks and spell ids anymore