Skip Navigation

[Resolved] Custom field stopped working after upgrade of toolset

This support ticket is created 6 years, 6 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)

This topic contains 16 replies, has 2 voices.

Last updated by Shane 6 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#905632

I am trying to:
I have a select group setup to display an image and a link. In the field I have:

Set to display as raw.

Since the upgrade on front end I get:
hidden link
The image and link are broken. Link turns to this:
hidden link

I then took out the " in the field and it works, like this:

frontend here:
hidden link

Problem is, if I fix these I then am forced to go back in each individual post and reselect the proper label from the dropdown. It basically resets.

I need help to get the old way to just work or I need to go back to my last backup and not upgrade.

Thanks

#905633

Just realized that when I posted this link:

it turned into the above link:?

It keeps adding:
hidden link

not sure why

#905747

Shane
Supporter

Languages: English (English )

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

Hi Chris,

Thank you for contacting our support forum.

Would you mind providing me with a duplicator package to the website so that we can check on this issue for you ?

To provide the duplicator package please take a look at the link below.

https://toolset.com/faq/provide-supporters-copy-site/
Thanks,
Shane

#905800

Shane
Supporter

Languages: English (English )

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

Hi Chris,

Would you mind if I get admin access to create a copy with the All in One plugin ?

Thanks,
Shane

#906366

Hi Shane,

Were you able to download a copy of the site? I may want to go back to my backup prior to the upgrade. We want to launch in the next 2 weeks and if this upgrade is an issue we may need to sort it out on staging site in the future. Please let me know.

Thanks

#906395

Shane
Supporter

Languages: English (English )

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

Hi Chris,

I have to remake the backup, its 6gb so i'm creating a new one without all the media files so I will just have a copy of the site itself.

#906399

Shane
Supporter

Languages: English (English )

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

Hi Chris,

Still didn't get it to work locally.

However could you point me to the custom field on one of the posts on the backup so I can debug since this is a staging site ?

Thanks,
Shane

#906405

It is in Field Group for Artists - Label(select)

Thanks

#906421

Shane
Supporter

Languages: English (English )

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

Hi Chris,

I see what the problem is. The quotes in the link are being converted to their ASCII equivalent so you're not getting a true url as you would expect.

The most I can do is to escalate this and see what our team says this could've been an exploit that was fixed .

Thanks,
Shane

#906430

Okay, please escalate to see if I can get this upgrade to work, otherwise I will need to go back.
Thanks

#906869

I am going to revert to my backup. Please look into this, so I can update in the future.
Thanks

#907152

Shane
Supporter

Languages: English (English )

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

Hi Chris,

No problem as this is replicable on a fresh install.

Our 2nd tier supporter is currently looking at it.

Thanks,
Shane

#909078

Shane
Supporter

Languages: English (English )

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

Hi Chris,

Our team has escalated this to our developers but would it be possible to rethink the values that you are using instead of just adding the entire link ?

Perhaps just add the slug to the select field instead ? then just build the link on the frontend?

Example

<a href='mywebsitelink.com/[types field="my-field"][/types]'>Some Link</a>

Please let me know

Thanks,
Shane

#909115

Hi Shane,

I am not sure I understand?

This is current code in the layout:

<p>[wpv-conditional if="( $(wpcf-record-label) gt '' )"]Label: [types field='record-label' output='raw'][/types][/wpv-conditional][wpv-conditional if="( $(wpcf-labels) gt '' )"][types field='labels' output='raw'][/types][/wpv-conditional]</p>

Here is one of the label fields:

Can you show me how you would change to your suggestion?

The other issue is that whenever I change these fields it does not automatically update the post. It actually dumps it and I have to go in each one and make selection again.....