Skip to content

{exp:member:edit_profile} template parsing errors #2703

@jHards

Description

@jHards

Description of the problem
2 separate but similar issues with this tag.

  1. The vanilla {exp:member:edit_profile} tag with no custom content between the tags isn't parsing {lang:x} variables.
  2. When custom content between the tags is entered with include_assets=yes parameter, page load fails with errors shown below.

How To Reproduce

  1. Put {exp:member:edit_profile}{/exp:member:edit_profile} into a template and access whilst logged in.
  2. Put {exp:member:edit_profile include_assets="yes"}<h4>Member</h4>{/exp:member:edit_profile} into a template and access whilst logged in.

Error Messages

  1. In my example I see {lang:edit_your_profile}, {lang:update} and {lang:required} remaining on the front end.
  2. See screenshot below

Screenshots / Videos / Template Code

  1. N/A
  2. Screenshot:
    image

Environment Details:

  • Version: 7.2.5
  • PHP Version 7.4.33

Possible Solution
Similar to other recent errors, I assume that core functions have been refactored but the Members addon hasn't been updated - hopefully a quick fix!

Additional context
N/A

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