Woocommerce Wcvendors – duplicate emails when Vendor approved

Our emails for deny/approval are triggered when the user role changes. If you have any plugins or theme overrides that are calling these actions at the wrong time, this can cause multiple emails to be fired.

As per our support discussion we were able to narrow it down to code within your child theme. Are you able to update your question with the particular piece of code that was causing this issue?

error code: 523