Sauter la navigation

[Résolu] FORM Post edit have issues

This support ticket is created Il y a 5 années et 3 mois. 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)

Ce sujet contient 20 réponses, a 3 voix.

Dernière mise à jour par francescoG-3 Il y a 5 années et 3 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1351565

I am trying to: create a Form to edit posts, I have an image field that allow multiple instances for a gallery, and in Form I have set it that can take images from the media folder but, if I click to add new image appears the dash and the move icons, but not appear the form to add the image url. If I click the replace button on a pre charged image, appear an 'X' on the top-right on the display, but not appear the media window to take the image...
Also, I have a telephone field that allow multiple instance, but if I click to add a new instance, appears the dash and the move icons, but not appear the form to add the phone number.

What could be the issue and what should I do to solve it?

Link to a page where the issue can be seen: lien caché

I expected to see:

Instead, I got:

#1351657

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I see the issue when I check the edit form and click on add new, the new repeating field is added successfully in the HTML source for the telephone field.

The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

In order to minimize the cause of the issue:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

I could not able to modify anything or change theme as I can see only above error message now.

#1351761

I have solved the technical difficulties of the site, can you try now?

But, I don't know why I cannot receive the system email with the instructions to solve the issue when it comes...

#1352115

Hi Minesh,
I have tested it.
I have create a new Content Template without using Divi where I have added the Edit Post Form, and the issue not was solved... The only issue solved is the "select2" about the two posts relationship fields.
Then, I have deactivated the "Divi Icon Pro plugin" (this plugin send in crash the site when the theme is changed), and I have selected the default WordPress theme, but the issues remains...

#1352523

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

I checked with my local test install with only latest Toolset plugins active and I see repeating field works just fine.

Please check the following video: lien caché

I suggest you check step by step:
- In order to rule out any possible conflict with third-party plugins you are using or your current theme.
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

Do you see same issue when only Toolset plugins active?

#1353383

Hi Minesh,
I have found the plugin that cause the issue. It is Ginger plugin. This plugin for me is foundamental because it is the plugin for my Cookie Policy...
Can you indicate me a Cookie plugin that can works fine with Toolset?

#1353727

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

I do not have any plugin name to refer you but you may need to find with wordpress.org.

You may like to check the following link:
lien caché

#1354039

Hi Minesh,
I have tested all GDPR Cookie plugins, but every plugin send in crash the "Select2" forms in the front end post edit Form...

#1354547

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

What if you try to use the following plugin:
=> https://wordpress.org/plugins/cookie-law-info/

Actually, I do not think that select2 store any sensitive user information which could result in incompliance with GDPR and I loggedin to your site and deactivated the GDPR plugin you installed and I found still select2 is not working.

In order to minimize the cause of issue and to ensure there is no possible conflict with any plugin or theme:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

#1354783

Hi Minesh,
I think that there are some bugs in the Toolset Form plugin.
I have deactivated the Cookie plugin, I have deleted cache, and select2 works fine.
Also, moreover, compared to other pages, in the front end post editor created with Form, the Ads Banner are aligned on the left instead of on the center...
Well, I think that Form has some bug code.

#1354877

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Glad to know that select2 working now and it was cache issue.

Regarding the Ad center issue:
I've added the following CSS to the CSS box of content template from where the banner is displayed:
=> lien caché

.footer-ad-wrapper {
	text-align: center;
}
.footer-ad-wrapper iframe {
	display: inline-block;
    width: 100%;
    max-width: 728px;
}

And wrapped the code with div as given under:

<div class="footer-ad-wrapper">
<!-- Revive Adserver Asynchronous JS Tag - Generated with Revive Adserver v4.1.4 -->
<ins data-revive-zoneid="2" data-revive-target="_blank" data-revive-ct0="INSERT_ENCODED_CLICKURL_HERE" data-revive-block="1" data-revive-id="e2d03030ba2252a7bf0e7c3814bcf5fa"></ins>
<script async src="//adv.inonda.tv/www/delivery/asyncjs.php"></script>
</div>

I can see now ad displayed centered:
=> lien caché

#1354951

Thank you for the CSS solution.
But, if I activate the Cookie plugin, the select2 crashes anyway.

#1355727

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

This is really strange. Can you please send me a duplicator copy of your site and I will debug this further.

More info:
https://toolset.com/faq/provide-supporters-copy-site/

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

#1355813
#1356699
js-error.JPG

Hello,

Minesh is on vacation, he will back in Wednesday.

Here are what I found:
1) I have tried it in your website, and can see the problem you mentioned above:
After activate any GDPR plugin of your website, test the problem URL again, the post type relationship select2 drodown menus do not work any more.
And I see lots of JS errors in that page, see screenshot js-error.JPG
Since the select2 feature are based on JavaScripts, so I suggest you try to fix those JS errors first.

2) I am not familiar with Snapshot Pro plugin, please provide detail steps/document to install the copy of the site you provided above.

Thanks