I am seeking assistance with an issue related to WPFormsPro.
My client is experiencing problems with duplicate entries on their online booking form. While not all bookings are affected, we have noticed certain submissions are appearing more than once, occasionally even weeks after the initial submission, without any indication of double-clicking the submit button.
I would greatly appreciate any insights or solutions to this issue.
Thank you.
]]>Thanks,
Jim
]]>BTW, I have already tried to repair the table but it did not work.
Thanks a lot!
PHP message: WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO
wp_wpmailsmtp_tasks_meta(
action,
data,
date) VALUES ('wp_mail_smtp_admin_notifications_update', 'W10=', '2022-01-17 09:25:45') made by require_once('wp-admin/admin-header.php'), do_action('in_admin_header'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, WPMailSMTP\Admin\AdminBarMenu->register, WPMailSMTP\Admin\AdminBarMenu->has_notifications, WPMailSMTP\Admin\Notifications->get_count, WPMailSMTP\Admin\Notifications->get, WPMailSMTP\Tasks\Task->register, WPMailSMTP\Tasks\Meta->add, WPMailSMTP\Tasks\Meta->add_to_dbPHP message: WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO
wp_wpmailsmtp_tasks_meta(
action,
data,
date) VALUES ('wp_mail_smtp_admin_notifications_update', 'W10=', '2022-01-17 09:25:45') made by require_once('wp-admin/admin-header.php'), do_action('in_admin_header'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, WPMailSMTP\Admin\AdminBarMenu->register, WPMailSMTP\Admin\AdminBarMenu->main_menu, WPMailSMTP\Admin\AdminBarMenu->has_notifications, WPMailSMTP\Admin\Notifications->get_count, WPMailSMTP\Admin\Notifications->get, WPMailSMTP\Tasks\Task->register, WPMailSMTP\Tasks\Meta->add, WPMailSMTP\Tasks\Meta->add_to_dbPHP message: WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO
wp_wpmailsmtp_tasks_meta(
action,
data,
date) VALUES ('wp_mail_smtp_admin_notifications_update', 'W10=', '2022-01-17 09:25:45') made by require_once('wp-admin/admin-header.php'), do_action('in_admin_header'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, WPMailSMTP\Admin\
Problem
When completing a gravity form, the pods entry is published / saved twice. So this creates a duplicate / double entry each time the form is submitted. We also tried to set the publish type under “advanced” to “draft”. But this also produces two drafts of the entry.
Steps to reproduce
Used versions (bug confirmed on all combinations)
Temporary Solution
Switch back to version 1.4.3 of this plugin.
Closing thoughts
Duplicate entry 'https://xxx' for key 'url' with query INSERT INTO
wp_litespeed_urlSET url='https://xxx' requested by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, LiteSpeed\Core->send_headers_force, apply_filters('litespeed_buffer_finalize'), WP_Hook->apply_filters, LiteSpeed\Optimize->finalize, LiteSpeed\Optimize->_optimize, LiteSpeed\Optimize->_build_hash_url, LiteSpeed\Optimizer->serve, LiteSpeed\Data->save_url
Site 1:
Report number: EBYFNESE
Site 2:
Report number: XZYQDNRV
Both sites use multisite version. How can I fix it?
]]>This is very inconvenient and a bit problematic because with thousands of repeated such errors I can not keep track of other real ones, whether they have occurred.
No matter how much I clean them, new ones are constantly appearing.
I ask for your help to remove the problem and correct them so that they do not appear.
I have the latest version available on the plugin.
Example for the errors:
—————————
[05-Sep-2021 00:49:09 UTC] Грешка: Duplicate entry '11' for key 'page_id' при заявка INSERT INTO
sdeu_statistics_historical(
value,
category,
uri,
page_id`) VALUES (‘9’, ‘uri’, ‘/checkout/’, ’11’) изпълнена от do_action_ref_array(‘wp_statistics_dbmaint_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->dbmaint_event, WP_STATISTICS\Purge::purge_data
[05-Sep-2021 00:49:09 UTC] Грешка: Duplicate entry ‘3744’ for key ‘page_id’ при заявка INSERT INTO sdeu_statistics_historical
(value
, category
, uri
, page_id
) VALUES (‘2’, ‘uri’, ‘/ewelink-smart-home/’, ‘3744’) изпълнена от do_action_ref_array(‘wp_statistics_dbmaint_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->dbmaint_event, WP_STATISTICS\Purge::purge_data
[05-Sep-2021 00:49:09 UTC] Грешка: Duplicate entry ‘4944’ for key ‘page_id’ при заявка INSERT INTO sdeu_statistics_historical
(value
, category
, uri
, page_id
) VALUES (‘2’, ‘uri’, ‘/how-does-a-wifi-device-access-the-ewelink-server/’, ‘4944’) изпълнена от do_action_ref_array(‘wp_statistics_dbmaint_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->dbmaint_event, WP_STATISTICS\Purge::purge_data
[05-Sep-2021 00:49:09 UTC] Грешка: Duplicate entry ‘4428’ for key ‘page_id’ при заявка INSERT INTO sdeu_statistics_historical
(value
, category
, uri
, page_id
) VALUES (‘4’, ‘uri’, ‘/product/bluetooth-adapter-usb-dongle-pc-4-0-5-0/’, ‘4428’) изпълнена от do_action_ref_array(‘wp_statistics_dbmaint_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->dbmaint_event, WP_STATISTICS\Purge::purge_data
[05-Sep-2021 00:49:09 UTC] Грешка: Duplicate entry ‘4350’ for key ‘page_id’ при заявка INSERT INTO sdeu_statistics_historical
(value
, category
, uri
, page_id
) VALUES (‘2’, ‘uri’, ‘/product/caddy-box-12-7mm-for-second-hard-disk-hdd-ssd/’, ‘4350’) изпълнена от do_action_ref_array(‘wp_statistics_dbmaint_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->dbmaint_event, WP_STATISTICS\Purge::purge_data`
———————–
Since the last update of the plugin I get a php_errors.log in my WordPress root folder with this content:
[05-Aug-2021 22:00:08 UTC] WordPress database error Duplicate entry '2021-08-06' for key 'unique_date' at query INSERT INTO
wp_statistics_visit(
last_visit,
last_counter,
visit`) VALUES (‘2021-08-06 23:00:08’, ‘2021-08-06’, ‘0’) created by do_action_ref_array(‘wp_statistics_add_visit_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->add_visit_event
[06-Aug-2021 22:00:06 UTC] WordPress database error Duplicate entry ‘2021-08-07’ for key ‘unique_date’ at query INSERT INTO wp_statistics_visit
(last_visit
, last_counter
, visit
) VALUES (‘2021-08-07 23:00:06’, ‘2021-08-07’, ‘0’) created by do_action_ref_array(‘wp_statistics_add_visit_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->add_visit_event
[08-Aug-2021 22:00:06 UTC] WordPress database error Duplicate entry ‘2021-08-09’ for key ‘unique_date’ at query INSERT INTO wp_statistics_visit
(last_visit
, last_counter
, visit
) VALUES (‘2021-08-09 23:00:06’, ‘2021-08-09’, ‘0’) created by do_action_ref_array(‘wp_statistics_add_visit_hook’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Schedule->add_visit_event`
Can this problem be global or just my database is involved? Could help me to resolve it?
Thank you
]]>wordpress database error:?[Duplicate entry 'facebook' for key 'slug']?INSERT INTO
wp_terms(
name,
slug,
term_group`) VALUES (‘Facebook’, ‘facebook’, 0)
wordpress database error:?[Duplicate entry ‘google’ for key ‘slug’]?INSERT INTO wp_terms
(name
, slug
, term_group
) VALUES (‘Google’, ‘google’, 0)
wordpress database error:?[Duplicate entry ‘tripadvisor’ for key ‘slug’]?INSERT INTO wp_terms
(name
, slug
, term_group
) VALUES (‘TripAdvisor’, ‘tripadvisor’, 0)
wordpress database error:?[Duplicate entry ‘amazon’ for key ‘slug’]?INSERT INTO wp_terms
(name
, slug
, term_group
) VALUES (‘Amazon’, ‘amazon’, 0)
wordpress database error:?[Duplicate entry ‘ebay’ for key ‘slug’]?INSERT INTO wp_terms
(name
, slug
, term_group
) VALUES (‘Ebay’, ‘ebay’, 0)`
I’m using wp 5.7.2 and php 7.2 and last version of Schema & Structured Data for WP & AMP.
Disabling Schema & Structured Data all works fine. Any idea?
Tnx
I’m working with other websites but without problems.
]]>23rd May 2020 at 2:42 pm
6th June 2020 at 10:23 pm
The rest of the data in the entries is exactly the same (other than the “key” field).
The client phoned the user after the first submission and made a sale of a product they enquired about.
After after second submission came through, a different client user phoned the customer and talked to him letting him know the product he enquired about had been reduced by £1000.
The customer informed the client he had not submitted the form again but now was rather upset that they had to pay the extra amount rather than this “new reduced” price.
Obviously this means that the customer was refunded £1000 which now means our client isn’t very happy they’ve lost out on that money. Just because the form decided to submit itself again but a lot later.
Apparently duplicate submissions going into the DB 2/3 weeks after the original is quite a common occurrence for this client.
Any ideas what this could be?
]]>wp_posts
(post_author
, post_date
, post_date_gmt
, post_content
, post_content_filtered
, post_title
, post_excerpt
, post_status
, post_type
, comment_status
, ping_status
, post_password
, post_name
, to_ping
, pinged
, post_modified
, post_modified_gmt
, post_parent
, menu_order
, post_mime_type
, guid
) VALUES (1, ‘2020-01-12 16:22:17’, ‘2020-01-12 16:22:17’, ”, ”, ‘TheTestImage’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘thetestimage’, ”, ”, ‘2020-01-12 16:22:17’, ‘2020-01-12 16:22:17’, 0, 0, ‘image/png’, ‘https://www.zams.co.in/wp-content/uploads/2020/01/TheTestImage-1.png’) made by media_handle_upload, wp_insert_attachment, wp_insert_post\n”, 807) = 807
please help
please help