As stated I dont see anywhere in our program we call anything without ppuser variable set.
To fix something you first need to know where its happening or how.
I can tell you to surpress the error you could encapsulte the variable in the line noted in showgallery
Code:
Content visible to verified customers only.
that line is only found one place so search and replace it with this
Code:
Content visible to verified customers only.