When a user pays offline, we then manually enable their account in Membership Pro, but when clicking on the Enable button it's showing an error:
An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, null given
If you refresh the page, the account is enabled correctly. How can we fix the error please?