Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[tools] detect_duplicated_commentids.php #8060

@CamilleBeau

Description

@CamilleBeau

Describe the bug
The script is failing due to an SQL error for duplicate rows. This is happening when there is more than one session for the candidate.

PHP Fatal error: Uncaught DomainException: Attempt to use pselectRow on a query that returns multiple rows in /var/www/loris/php/libraries/Database.class.inc:858 Stack trace: #0 /var/www/loris/tools/detect_duplicated_commentids.php(114): Database->pselectRow() #1 {main} thrown in /var/www/loris/php/libraries/Database.class.inc on line 858

To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):

  1. Run script as intended
  2. See error

Metadata

Metadata

Assignees

Labels

24.0.0-bugsIssues or bug fix PRs that were raised during the testing of release 24.0.0Category: BugPR or issue that aims to report or fix a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions