Skip Navigation

[Resolved] Duplicate Post

This thread is resolved. Here is a description of the problem and solution.

Problem:
Duplicate Post while editing form

Solution:
The fix is officially shipped with next release of CRED version 1.9.6.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/duplicate-post/#post-628629

Relevant Documentation:

This support ticket is created 6 years, 10 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 7 replies, has 2 voices.

Last updated by Minesh 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#611224
Screen Shot 2018-01-30 at 20.17.45.png
Screen Shot 2018-01-30 at 20.14.06.png

Hi

I created a form and everything is working fine and when i click submit i found out that with each submit there are two posts instead of one (see attachment).
For example, i submitted a form with title Testing what i got is 2 posts. one with the Testing title but the tag is not there and the other one is generated title with the tag on it which is very strange.
Here is my form Code:
--------------------------------
[credform class='cred-form cred-keep-original']

[cred_field field='form_messages' value='' class='alert alert-warning']

<div class="form-group">
<label>Homework Title</label>
[cred_field field='post_title' post='post' value='' urlparam='' class='form-control' output='bootstrap']
</div>

<div class="form-group">
<label>Homework Content</label>
[cred_field field='post_content' post='post' value='' urlparam='' output='bootstrap']
</div>

<div class="form-group">
<label>Homework Categories</label>
[cred_field field='category' display='checkbox' output='bootstrap']

</div>

<div class="form-group">
<label>Tags</label>
[cred_field field='post_tag' class='form-control' output='bootstrap']
[cred_field field='post_tag_popular' taxonomy='post_tag' type='show_popular']
</div>

[cred_field field='form_submit' value='Submit' urlparam='' class='btn btn-primary btn-lg' output='bootstrap']

[/credform]

Thanks
M<

#611282

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

I would like to confirm here the CRED form is to create new entry and is CRED form is build to create new posts for default post type "post" or you have build the CRED form for any other custom post type. Once you confirm this - I will try to reproduce this with my test install.

#611308

This is for the default WordPress Posts, no custom post types of any kind

Regards

#611333

Minesh
Supporter

Languages: English (English )

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

Well - I've just tested this issue and I'm not able to reproduce this issue with minimum setup (Only Toolset plugins install + Default theme).

I would like to have your site's duplicator copy so that I should check whats going wrong with your setup.

Could you please send me duplicator package of your site:
=> https://toolset.com/faq/provide-supporters-copy-site/

#611349

Minesh
Supporter

Languages: English (English )

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

Thank you for sharing access details but when I try to access the page - it says the page is password protected.

Also, its not recommended that we debug the issue on your live site. It will be great help to us if you can remove password protection to access your page and send me duplicator package so that I can able to install your setup on my test install and get back to you with updates.

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

#611446

Minesh
Supporter

Languages: English (English )

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

I'm able to reproduce the issue, it looks like compatibility issue with Elementor plugin and SEO by yoast. Please hold on for further updates.

#611506

I disabled the SEO Yoast Plugin and it is working now till you guys find a solution for it.

Please let me know as soon as you get a solution as we need to reactivate SEO Yoast Plugin back.

Kind Regards

#628629

Minesh
Supporter

Languages: English (English )

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

I would like to update you that this fix is officially shipped with next release of CRED version 1.9.6.

However - our Devs shared workaround and hotfix that you may would like to try to resolve your isksue:
=> https://toolset.com/errata/cred-auto-draft-posts-created-when-relevannsi-cred-and-featured-images-are-used/