Skip Navigation

[Resolved] Related Posts

This support ticket is created 5 years, 8 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1215216

I am trying to: Use a Front-end Form to edit existing / add new. Connected posts do not show up on the edit form, if any changes are made using that form existing connections are removed

#1215305
js-errors.JPG

Hello,

I assume we are talking about the Toolset post form "Edit House & Land Package", and field "home-design_house-and-land" in it.

I have test it in here:
hidden link

Click button "Edit", I can see the post form, and there are already lots of existed JS errors in your website, for example:

wp-playlist.min.js?ver=5.1.1:1 Uncaught ReferenceError: Backbone is not defined
utils.js?ver=1.2.2:11 Uncaught ReferenceError: Backbone is not defined
frontend.js?ver=2.3.1:367 Uncaught ReferenceError: ko is not defined
Uncaught TypeError: Cannot read property 'setDefaults' of undefined

See screenshot js-errors.JPG

Since the relationship field is using JavaScript select2, those errors will prevent it from working.

I suggest you check these:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, also remove other custom PHP/JS codes, and test again

2) if the problem is fixed, you can locate the problem plugin by activate them one by one.