An error has occurred while viewing lead from custom module

I’m a new user, after creating a custom module, the admin can edit, and view the field but the user getting an error alert, please check the screenshot, also previously it was working fine, but I didn’t change anything. Can anyone help me, please?