I don't think I've seen too many discussions of redundancy analysis on this forum, and so I don't think you can take for granted that most folks looking at your question will have the background knowledge to immediately recognize your issue and suggest a solution.
I'd really encourage you to pose your question as a minimal reproducible example (FAQ: What's a reproducible example (`reprex`) and how do I do one?), which makes it easy for folks to replicate your error and start working on a solution.