Skip Navigation

[Resuelto] image field for post relationship creating error

This support ticket is created hace 6 años, 11 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 14 respuestas, tiene 3 mensajes.

Última actualización por Christian Cox hace 6 años, 11 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#601225

Hi team,

i added an image field to my post -relationship field.
fyi : i am on beta but have not turn on the new post -relationship GUI yet.

when i added the image field and click save it create this error :
error: {"output":"","errors":"","conditionals":{"#post":{"triggers":[],"fields":[],"custom_triggers":[],"custom_fields":[]}}}

the url is something like : site.com/wp-admin/admin-ajax.php?action=wpcf_ajax&wpcf_action=pr_save_child_post&post_type_parent=property-new-launch&post_id=3162&parent_id=3040&post_type_child=nearby-amenity&_wpnonce=ee009e0db6

Pls advice how to solve this error. meanwhile ive deactivated the image field.

Happy Holiday and Merry Christmas !

#601236

google land this result.
https://toolset.com/forums/topic/outputconditionalsposttriggersfieldscustom_triggers/

but i am sure its not the reason stated inside. no double click involve.

#601265

i am not sure the proper way to display the post-relationship field into layout.
i've used a view for this purpose. i had 3 types pos-relationship post type. all good except those with image fields.

#601335

Hi, I would like to report this issue to our developers, but I'm having trouble replicating it. Can provide some more information?
- Does this error occur when only Types and Views are active with a default theme like Twenty Seventeen?
- Where do you see the error appear - is it shown on the page, or in the JavaScript console?
- It looks like you are trying to add an intermediary post (child) using the Post Relationship panel in the parent post editor. Is that correct? Does the same error appear if you edit the intermediary post directly in wp-admin?
- How many custom fields are shown in the editor? Can you show a picture of the fields? Are the fields all part of the same field group, or different field groups?
- Do any of these custom fields or field groups have conditional display logic? If so, please provide it here for me to review.

#601344

Hi Christian , if you're online now i could give you access to backend to check.

#601353

Okay sure, I'm online for another hour or so. Private reply fields activated.

#601354

- Does this error occur when only Types and Views are active with a default theme like Twenty Seventeen?
---> default 2017 theme + layout disabled no issue.

- Where do you see the error appear - is it shown on the page, or in the JavaScript console?
-- - >javascript console error "require window etc.. "

- It looks like you are trying to add an intermediary post (child) using the Post Relationship panel in the parent post editor. Is that correct? Does the same error appear if you edit the intermediary post directly in wp-admin?
--> no issue when editing at wp-admin.

- How many custom fields are shown in the editor? Can you show a picture of the fields? Are the fields all part of the same field group, or different field groups?
-->3 field,. 1 image, 2 text.

- Do any of these custom fields or field groups have conditional display logic? If so, please provide it here for me to review.
--> no logical condition.

#601355

pls enable the private field again, i guess it was same time i was replying.

#601356

the login has been provided many times here, i guess you can use that if its stored. thanks

#601360

the error can be seen at the section : . post relationship >Nearby Amenities tab.in edit page like

....,/wp-admin/post.php?post=3040&action=edit

#601365

Working on this now, you may see some broken things on the site for a while.

#601366

I wasn't able to pin this down to a particular plugin conflict. Here's where I am on the staging site:
- Deactivated all plugins except Types, Layouts, and Views and activated Twenty sixteen. Problem resolved.
- Reactivated parent and child theme. Problem still resolved.
- Reactivated previously active plugins starting at the top, all the way down to "Simple Custom CSS". Problem resolved.
- Reactivated plugins starting at Simple Custom CSS all the way down to Thirsty Affiliates. Problem reappears.

So it appears there is a conflict with one of the plugins between Simple Custom CSS and Thirsty Affiliates, but I did not have enough time to narrow it down any further.

I will return on Tuesday to finish troubleshooting.

#601447

Hi,

I'm posting here to notify you that Christian is off today. he will get back tomorrow and handle your request.

Thanks.

#601458

Thanks Guys, as i suspected its " social warfare pro " . the normal version no conflict, its the pro features. i am guessing something got to do with "pinterest" sharing feature.

what would be my next move pls ..

#601602

I can think of these options:
- Try a different social sharing plugin. This will probably be the fastest solution, since it will require no development time.
- Escalate this as a compatibility issue with the Social Warfare plugin, Pro version, and our betas. This will be a slower solution, since it may require collaboration between our developers, as well as code development and plugin updates.

Let me know how you would like to proceed.