Skip Navigation

[Closed] After upgrading types to v 3.4.10, views are broken.

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

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Luo Yang 4 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#2062193
Screen Shot 2021-05-19 at 2.47.52 PM.png
Screen Shot 2021-05-19 at 2.46.30 PM.png
Screen Shot 2021-05-19 at 2.45.54 PM.png
Screen Shot 2021-05-19 at 2.45.14 PM.png

I am trying to: Upgrade my tookset types plugin as it was breaking my editor, after I did that, some pages with custom views in them, broke, even though, when looking at the editor, they look fine.

Link to a page where the issue can be seen: hidden link (right hand column)

I expected to see: hidden link (screenshot from archive.org)

Instead, I got: hidden link (live site), here is the code of the view not rendering properly - hidden link

I tried to edit the view, to see if the formatting looked off, but it all looks fine to me - hidden link

let me know what you think i attempted to do this work around - https://toolset.com/errata/legacy-view-blocks-are-broken-after-migrating-to-views-3-x/ but my views is still v1 and I'm hesitant to update the whole site in case more things break.

linked images attached.

#2062383

Hello,

How do you setup the custom field "File"?
If it is a custom field field, please try these, in your screenshot:
https://toolset.com/wp-content/uploads/2021/05/2062193-Screen_Shot_2021_05_19_at_2.45.14_PM.png
modify the "File" shortcode to:

[types field='file' ouput='raw'][/types]

And test again.

More help:
https://toolset.com/documentation/customizing-sites-using-php/functions/#file
‘raw’=Display raw data stored in DB.

#2064759

Hey Luo, Thanks that helped with my issue, I appreciate the quick turnaround.

#2064761

oops sorry, i was looking at the wrong field.

#2066009

You did not answer my question:
How do you setup the custom field "File"?

You can also provide a test site with the same problem, fill the test site credentials in below private message box, also point out the problem page URLs, I can check it in a live website, thanks

The topic ‘[Closed] After upgrading types to v 3.4.10, views are broken.’ is closed to new replies.