I just realized that within this thread, you don't mention putting a "\" in front of "$uri".
However, I copied over the code from here, initially, and it is there - that was what was causing the issue.
https://una.io/page/view-discussion?id=760
Thank you, I've corrected the code there.