Profile user meta data not reflected in Profile after backend update
-
I have set up a Custom form having several custom fields that are edited via the profile edit page.
I have ran this sequence several times. The result is always the same.
Verify that none of the fields are in the wp_usermeta table in the WordPress database prior to any save action.
Bring up the Profile page and edit the values and click on Update and save to the database.
Verify that all the fields were created in the wp_usermeta table in the database with the values entered on the Profile page. They all match.
Run a routine (an oAuth2 authorization process) that grabs all new data and updates the exact same fields in the wp_usermeta table. All the meta keys are updated with the expected data.
Go back into the Profile Page and all the data is as it was before. None of the changes are reflected. I have cleared browser data, looked for server caches, but no matter what, the data remains as it was on the original first save even though the data has clearly been updated in the wp_usermeta table.
I can even delete all the fields from wp_usermeta that where created with the initial Profile Save via the Profile Page via Ultimate Member and still the original data that was saved during that initial save will be displayed. None of the data displays the field defaults, but the data that was saved during the original first save. Make sense?
After the delete of these fields from wp_usermeta, and going back to the profile after a browser cache sweep and refresh, and hitting update, all the fields will once again be created in wp_usermeta with the data still in the form.
What gives? Where is Ultimate Member extracting its data from? Is there something that needs to be cleared that I am not seeing.
- The topic ‘Profile user meta data not reflected in Profile after backend update’ is closed to new replies.