Moodle 4.07 Taskchain error Exception - Argument 1 passed to core_user\fields::get_sql() must be of the type string, null given,

Moodle 4.07 Taskchain error Exception - Argument 1 passed to core_user\fields::get_sql() must be of the type string, null given,

by Andrés Segovia -
Number of replies: 0

Hi,

We updated the moodle version from 3.11.6 to 4.0.7 and now it shows the following error when trying to see the student report:

Exception - Argument 1 passed to core_user\fields::get_sql() must be of the type string, null given, called in [dirroot]/mod/taskchain/report/renderer.php on line 551

More information about this error

Debug info:
Error code: generalexceptionmessage×Dismiss this notification
Stack trace:
line 480 of /user/classes/fields.php: TypeError thrown
line 551 of /mod/taskchain/report/renderer.php: call to core_user\fields->get_sql()
line 324 of /mod/taskchain/report/renderer.php: call to mod_taskchain_report_renderer->get_userfields()
line 100 of /mod/taskchain/report/chaingrade/renderer.php: call to mod_taskchain_report_renderer->select_sql_user()
line 261 of /mod/taskchain/report/renderer.php: call to mod_taskchain_report_chaingrade_renderer->select_sql()
line 115 of /mod/taskchain/report/renderer.php: call to mod_taskchain_report_renderer->reportcontent()
line 91 of /mod/taskchain/report.php: call to mod_taskchain_report_renderer->render_report()

General information

Moodle 4.0.7
php 7.4.3
Taskchain 2022-09-15 (96)
HotPot 2022-09-15 (48)
Theme Adaptable (but with boost, the error too ocurs)

Please can you help us? We can't see the students result.

Thanks in advance,
Andrés

Average of ratings: -