Swarthmore / moodle-local_accessibility_filescan

A local Moodle plugin to check the accessibility of course materials.
GNU General Public License v3.0
1 stars 0 forks source link

find_unscanned_pdf_files is broken when using pgsql #48

Open devnoot opened 1 year ago

devnoot commented 1 year ago
Execute scheduled task: Find unscanned PDF files (local_a11y_check\task\find_pdf_files)
... started 06:00:01. Current memory use 12.8 MB.
++ Did you remember to make the first column something unique in your call to get_records? Duplicate value '6204bc21842433048cabc4384a4a8222ee234883' found in column 'contenthash'. ++
* line 1049 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
* line 101 of /local/a11y_check/classes/pdf.php: call to pgsql_native_moodle_database->get_records_sql()
* line 58 of /local/a11y_check/classes/task/find_pdf_files.php: call to local_a11y_check\pdf::get_unscanned_pdf_files()
* line 259 of /lib/cronlib.php: call to local_a11y_check\task\find_pdf_files->execute()
* line 167 of /admin/cli/scheduled_task.php: call to cron_run_inner_scheduled_task()
*