New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Member Fields Breaks {exp:member:edit_profile} tag #1644
Comments
@mcfarlandonline this is really interesting! It looks like the parser is trying to parse grid field called 'NetRaising' - and Members do not support grid fields! Do you know what that field is, where it is assigned to etc.? @robinsowell is this something you've seen someone encounter before? |
@intoeetive Weird, and it's not ringing bells and didn't show up in a search. I would have thought NetRaising is the value in the Organization Name field BUT sounds like she has cleared out the content and it's still throwing the error. WHY it is trying to bring grid into the mix, I'm not sure. I'd be super curious to see if there is a field with that name. Or even a global or something? Really odd one. |
Yes, I had inputed "NetRaising" as the value of the Organization Name field. This morning, I cleared out NetRaising from that field, but didn't delete the field, and still got this error messaging...
But then I deleted that member field, and the error went away. I rebuilt it and then got this error message (below).
|
For whatever reason, these are working for me now! It was really odd... I tried outputting the custom fields within the {exp:member:edit_profile} tag like this:
Although both fields were built as "text input" fields, the first one {member_phone} output as a textarea field. The second {member_org_name} only output the label. I ended up deleting both custom member fields, clearing caches, and then rebuilding. (This time, making double-sure that "text input" was selected as the member field type. It defaults to this, but I made sure to manually select it. Not sure if that was the issue). Now everything's happy and the fields on the frontend look as expected. Closing this for now, until I can get more consistent behavior. |
AHHHHHH! This happened again and I finally figured out how to trigger it. It happens if your member field has the same id as a grid field. I basically deleted member fields and added new ones until they no longer matched up to a grid field and it got rid of the problem. Obscure bug is obscure. I'm ... going to open this one back up and tweak the description so it's clear it's still an issue. |
For EE7 this has been resolved with #2534 which was released in 7.2.2 Adding same fix for EE6 now |
…same page with channel entries tag
…-grid Resolved #1644 where Edit Profile form could show error when used on same page with channel entries tag
EE: 6.1.6
PHP: 7.3
ROBIN NOTE- Still can happen on EE 6.3.4. Happens if the member field id is the same as a grid field.
I built these two custom member fields...
...and then revisited my frontend "Edit my profile" page to find the error message below.
I tried:
The errors remained.
Deleting the fields altogether seems to be the only fix at this point. Am I missing something?
Oh, and I'm not yet calling for the custom fields in my {exp:member:edit_profile} tag. It's pretty boring at this point...
The text was updated successfully, but these errors were encountered: