Skip Navigation

[Resolved] Notice: Undefined index: post_reference_type

This support ticket is created 3 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/Karachi (GMT+05:00)

Author
Posts
#2032285

For a post form, I get the following error: "Notice: Undefined index: post_reference_type in /var/www/apochi.it/wordpress/wp-content/plugins/cred-frontend-editor/application/models/form/relationship.php on line 424"

Sample page is: hidden link

Would you mind help me with this case?

Regards,
Ata

#2032745

Hi Ata,

Thank you for contacting us and I'd be happy to assist.

An error like this can be shown if there is a Toolset Types custom field which has the same slug as a post-relationship.
( ref: https://toolset.com/errata/the-custom-field-behaves-like-a-relationship-field-if-its-slug-is-the-same-as-a-post-relationships-slug/ )

Can you please check all the custom fields used in the form and make sure that their slugs don't match any of the post-relationship slugs?

If you do find the matching slugs, it would be best to change the slug of the custom field to something different.

regards,
Waqar