Skip Navigation

[Resolved] Media Libary blocken with Toolset form

This support ticket is created 2 years, 9 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 20 replies, has 2 voices.

Last updated by Guillaume 2 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#2331353
Screen Shot 2022-04-01 at 12.45.45.jpg

I noticed that the media library is broken in a specific case where view and form are used together.

This case happens when I add to my post a View where a form is inserted inside the view.

It's impossible to edit the featured image or anything related to the media library. The media library popup is broken, as you can see in the image.

If I don't have the view in my editor, the media library is working.

To explain, I use the form as a fast editor in the front end, the link to the form is visible for admin only.

#2331389

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

After checking to the debug information you shared with us, I found that you are using outdated version for Toolset Types and Toolset View's plugin.

*** Please make a FULL BACKUP of your database and website.***
Can you please update ALL Toolset plugins to latest official released version and check if that helps you to resolve your issue.

You Can Download the Toolset Types plugin from here:
=> https://toolset.com/account/downloads/#toolset_plugins

You Can Download the Toolset Views plugin from here:
=> https://toolset.com/account/downloads/#legacy-plugins

If your issue still persists please get in touch with me.

#2331391

I just updated all the plugins and clear cache. The issue still persist.

#2331397

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok. Just to ensure there is no plugin or theme conflict.

*** Please make a FULL BACKUP of your database and website.***
Could you please try to resolve your issue by deactivating all third-party plugins as well as with the default theme to check for any possible conflicts with any of the plugins or theme?
- Do you see any difference?

#2331413

I just tried to disabled every plugins and themes except Form, View and Types. The problem is still there.

#2331419

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok. Thanks for doing primary investigations.

Can you please send me problem URL where I can see the issue as well as admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2331675

You can check Posts, they all have the problem I told you before when you want to add a gallery or edit the featured image.

#2331739

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing access details.

I checked the following post but where I can see the form that holds the featured image field?
=> hidden link

#2331883

I don't understand. Here is a video of my problem : hidden link
If I disable the plugin Form, it's working normally.

#2333433

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked on your install and I can see that Media uploader works just fine for me with featured image as well as with gallery block.

Please check the following video recording: hidden link

#2335651

So I can see the problem and not you. I think that's because I use a condition in to display the CRED modal in my template. Today the condition is set on my account only.
Here is my condition : [wpv-conditional if="( '[wpv-user]' eq 'XYZ' )"] my code [/wpv-conditional]

I just changed to all admins [wpv-conditional if="( '[wpv-current-user info="role"]' eq 'administrator' )"] my code [/wpv-conditional]
and now it seems to work.

I need to do some test to be sure.

#2335663

So it doesn't solve the problem but now I think you can see it.

#2335673

I tried on another website I have it's the same.
If you create a form, you add this form to a view then you add the view in a post via a block, the media library is broken. It's broken when you save and reload the admin.

#2335705

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share details where you added the form within what view and where you are displaying that view on what page/post? Can you please share link of that with all required details.

#2335709

Ok.
If you go to the post called "Bottines Femme : Les Tendances de l’Hiver 2020 / 2021" ID 74431,
the view inside is : "RASM Pure Child x3", ID 88426.
this view use the template : "RASM Pure product", ID 105411, where the cred is inserted.

This view "RASM Pure Child x3" is always inserted in posts via gutemberg