Skip to content

Render failed, failed to render template: user/profile #27473

Closed
@HeikoDressler

Description

@HeikoDressler

Description

on click to my Profile i got the following error:

Ein Fehler ist aufgetreten:

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 1 got 2

				{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID ctx $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
				                                                                                  ^

image

Gitea Version

1.21.0+rc0-69-g44aca6a65

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

2.37.1, Wire Protocol Version 2 Enabled

Operating System

Windows Server 2022 Standard

How are you running Gitea?

self hosting

Database

MSSQL

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