When - you have custom profile fields (/user/profile/index.php) - enable them in the setting "showuseridentity" (/admin/settings.php?section=userpolicies) - open a course and add the completion progress block - click on "Overview of students" button Then - a database reading error occurs <img width="1733" height="987" alt="Image" src="https://github.com/user-attachments/assets/37359e2b-700b-4a12-a945-d712da4235ff" /> Possible solution - include the missing joins and params of the user identity fields in sql statement - or exclude the custom profile fields in the user identity fields