Skip to content

Failed to render template "profile_big_avatar" #27416

Closed
@IGLOU-EU

Description

@IGLOU-EU

Description

Hi,
Little template issue for me 😄

https://github.com/go-gitea/gitea/blob/main/templates/shared/user/profile_big_avatar.tmpl#L86

Render failed, failed to render template: user/profile, error: template error: builtin(bindata):shared/user/profile_big_avatar:86:87 : executing "shared/user/profile_big_avatar" at <.HasMemberWithUserID>: wrong number of args for HasMemberWithUserID: want 2 got 1
----------------------------------------------------------------------
					{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
					                                                                                  ^
----------------------------------------------------------------------

Thanks

Gitea Version

1.22.0+dev-97-g1c9990c16

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

systemctl stop gitea; cp /usr/bin/gitea /root/gitea.back; curl -L "https://dl.gitea.io/gitea/main/gitea-main-linux-amd64" -o /usr/bin/gitea; systemctl start gitea

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions