Danbooru

"Undefined method" error when accessing a user

Posted under Bugs & Features

Seems I can see more debugging output with my new user level. By the looks of it through my amateur eyes something went wrong while banning the user and the profile is corrupted. Doesn't seem like something someone other than that user needs to be worried about (though if they were being banned, I suppose not) besides finding what happened.

It's because the user is banned but has no bans associated with him (meaning his ban won't expire). It's unknown what caused this (probably an old bug from Danbooru 1, looking at the date) but Albert fixed the profile error being thrown.

1