This error only happens in the case shown in the video, that is, if you try to connect the same signal twice, or disconnect a signal that doesn't exist. There's probably some slight issue with the code flow or there can be a typo somewhere - be sure to copy paste the signal name so that it matches exactly. It's easy to miss two inverted letters or something.