Skip Navigation

[Resolved] Custom Fields updating on all existing CPTs after adding a new one

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by karenG-4 3 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1963013

I am trying to:
I am working on pages for an event. I have an Instructor CPT and a Talk CPT. Each CPT has associated custom fields. Speaker Custom Fields include First Name, Last Name, Headshot, and bio. Talk Custom Fields include Title, Description, Day, Date, Time, and Length.

A few days ago, I created posts for all of the instructors and all of the talks and entered all the custom fields for all of the new posts. Today I realized I'd forgotten one instructor and her talk. I added a new instructor post and a new talk post and input all the custom fields for the new posts.

I expected to see:
A new instructor post with her custom fields. A new talk post with its new fields.

Instead, I got:
EVERY EXISTING INSTRUCTOR post was updated with the information from the newly entered instructor. EVERY EXISTING TALK post was updated with information from the newly entered talk.

In addition, the Speaker View on the newly entered instructor's page says there's no associated entries to display on her page.

Link to a page where the issue can be seen:
Newly created instructor: hidden link
An existing instructor showing new instructor's information: hidden link

#1963019

Additional information:

I realized that every instructor and talk did not automatically update, only some of them did. The ones that did are the ones on which I used a view block to display information. On the Instructor individual page, I am not using a template. I am using a view instead. That view pulls the Information from the current Instructor. I had only added the view to a couple of Instructors and it is only those instructors who were automatically updated when I added a new post. The same is true for the talks.

#1963101

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Karen,

Thank you for getting in touch.

EVERY EXISTING INSTRUCTOR post was updated with the information from the newly entered instructor. EVERY EXISTING TALK post was updated with information from the newly entered talk.

Would you mind allowing me to have admin access to the site that you are doing this on so that I can take a look ? Also would it be ok if I created a sample instructor just to see what happens?

If needed as well I would like your permission to install the duplicator plugin and get a copy of your site for further checks and testing.

Without wanting to rule out a possible plugin conflict, it is a good practice to temporarily disable all the non-toolset plugins and try to replicate the issue again to see if it remains. If it doesn't occur then we have a plugin conflict. From there you can re-enable your plugins one by one to see with causes the issue to start occurring again.

Thanks,
Shane

#1963139

After I posted the support request, I discovered that we have some potential malicious code on our site. I'm working with my host to resolve that issue and we're probably going to be installing a back up, which means I'll lose all the configuration related to this problem. After the reinstall, I'll need to recreate all my data. If I still have a problem after that, I will file another support ticket.