Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when commenting on reviews as impersonated user (Admin feature) #263

Open
salty-horse opened this issue Oct 22, 2023 · 0 comments
Open
Labels
bug Something isn't working moderation tools This affects the way moderators do their work

Comments

@salty-horse
Copy link
Collaborator

salty-horse commented Oct 22, 2023

Steps to reproduce:

  1. Login as admin.
  2. Choose a user with reviews, and impersonate it by going to the user page, clicking "Administer user account" and then "Log in as ".

From here, two kinds of errors are visible.

  1. Commenting on a review created by the impersonated user will show an error. The log shows these errors:

    Undefined variable: parent in /var/www/html/comment.php on line 106
    Trying to access array offset on value of type null in /var/www/html/comment.php on line 106

  2. Commenting on any review created by anyone other than the impersonated user will work, but the comment will be made as the original admin user.
@dfabulich dfabulich added moderation tools This affects the way moderators do their work bug Something isn't working labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working moderation tools This affects the way moderators do their work
Projects
None yet
Development

No branches or pull requests

2 participants