[Resolved] Post reference field warnings clutter interface when toolset relationships in us
This support ticket is created 3 years, 9 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to:
Resolve an issue where if a post type (A) is connected to another post type (B) by relationship, and if the other post type (B) has a post reference field associated with it, then a warning appears on all edit pages for post type A. This warning appears multiple times.
This warning used to appear within the relationship box, when you clicked to edit a related post. Now they all appear together at the top of the post.
This is a 2018/9-built site - pre blocks. I have tried plugin troubleshooting but this didn't help.
Link to a page where the issue can be seen:
Pages are private. I can provide dev access if screenshot doesn't assist.
Thanks.
PS Title of this post clipped after saving - was meant to say "in use".
Hello. Thank you for contacting the Toolset support.
Do you mean that you have a post type X that is connected to post type Y using post reference field. Now, with post type Y, you connected this post type with another post type Z using post reference field and when you edit the post belongs to post type Y - you see the said errors/warnings?
Hi Minesh, thanks for your prompt response. You're close, but I think the issue is a bit broader than that.
In the example in the first screenshot (in my first post above), Schools PT has a relationship with Class PT. Classes PT has a post reference field "Class Teacher" that connects to the Teachers PT.
In every School post, there are several classes that have been connected using the the Schools - Classes relationship.
Each of these Classes has a "Quick Edit" button, and when you *used* to click this (before the updates), the warning would appear inside those boxes. I guess the DOM changed as now all the warnings show up together at the very top of the post.
We don't need to edit the class teachers from the school post, and don't use the Quick edit function at all. Is there a way to just turn it off? If difficult to remedy, I could maybe add some css admin-side to hide all the warnings.
First image (school-210218-1) shows the relationships connection box on a School post, with quick edit open.
Second image (screen-210218) is a typical Class post, showing post reference to the Teacher PT.
Can you please share admin access details and share the problem URL where I can see those notices.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.