fix Issue 10169 - duplicate error message: member is not accessible
Merge pull request #3448 from 9rnsr/fix10169

Issue 10169 - duplicate error message: member is not accessible