Support

Home Forums Event Espresso Premium Incorrect data is shown in WP-admin after pre-filling custom fields.

Incorrect data is shown in WP-admin after pre-filling custom fields.

Posted: January 11, 2019 at 4:39 pm


wvdzeijden

January 11, 2019 at 4:39 pm

Hi Josh,

I installed your script you posted here:
https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/mn_wp_user_addon_save_custom_answers_too.php

It works fine on the frontend and data is saved correct in the database, but… Check out this picture.

When I check the data of custom fields in the WP admin the data is incorrect (see image on the left). It seems some cached data. It always shows the same with different subscriptions.

Could you help me to fix this?

Wouter


Josh

  • Support Staff

January 14, 2019 at 3:43 pm

Hi,

May I ask where exactly are you looking in the database? The custom script (which I didn’t write, for what its worth) is intended to take the registrant’s previously answered questions and apply them to the same questions in later registrations. The part of your screenshot on the left (the registration admin page) gets the data from the _esp_answer table.

If you think the problem might be related to caching, can you check to see if your site is using a caching plugin?

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 5 days, 10 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!