To clarify, this error occurs when you are trying to use the CardReward common events while the Deck Edit Scene is open?
Please attach a screenshot of the error or the debug console logs when this error happens as that will help us narrow down the cause of it.