By default, policy.allow-public is set to false. Based on what I'm seeing here, the value for $note would be null when it's passed to the view on line 87, resulting in this stack trace:
Steps to reproduce:
- Set policy.allow-public to false (as it is out of the box)
- Attempt to edit your profile
Assigned this to the author of the offending commit. Apologies if that's against protocol.