Home › Forums › WoodMart support forum › WordPress database error Duplicate entry error
WordPress database error Duplicate entry error
- This topic has 10 replies, 2 voices, and was last updated 2 years, 6 months ago by
Artem Temos.
-
AuthorPosts
-
October 25, 2022 at 8:49 pm #416512
sportswing.inParticipantHello,
Error log is full of error, it will take 10gb of space for 1hr for error log itself, please check it ad resolve it early
Screenshot: https://prnt.sc/GNj-nYjJI5xH
error: [25-Oct-2022 17:46:54 UTC] WordPress database error Duplicate entry ‘22513291’ for key ‘PRIMARY’ for query INSERT INTOwp9q_options
(option_name
,option_value
,autoload
) VALUES (‘_transient_timeout_wc_term_counts’, ‘1669312014’, ‘no’) ON DUPLICATE KEY UPDATEoption_name
= VALUES(option_name
),option_value
= VALUES(option_value
),autoload
= VALUES(autoload
) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/woodmart/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/woodmart/woocommerce/content-single-product.php’), do_action(‘woodmart_woocommerce_after_sidebar’), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_output_related_products, woocommerce_related_products, array_map, wc_get_product, WC_Product_Factory->get_product, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, WC_Product_Variable_Data_Store_CPT->read_product_data, WC_Product_Data_Store_CPT->read_product_data, WC_Data_Store_WP->get_term_ids, get_the_terms, wp_get_object_terms, get_terms, apply_filters(‘get_terms’), WP_Hook->apply_filters, wc_change_term_counts, set_transient, add_optionwith best regards
October 25, 2022 at 9:09 pm #416515
Artem TemosKeymasterHello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
October 25, 2022 at 9:57 pm #416537
sportswing.inParticipantHello,
Checked with other themes no error found like this. Only for woodmart theme it is coming. Please check it from your end
Regards
October 25, 2022 at 10:06 pm #416540
Artem TemosKeymasterIn this case, please, send us your admin and FTP access. Also, specify where we can see these error log on your server.
Kind Regards
October 26, 2022 at 9:23 am #416599
sportswing.inParticipanthello,
please check shared. waiting for the update
October 26, 2022 at 2:45 pm #416696
Artem TemosKeymasterWe don’t have access to Appearance -> Themes so we can’t check how it works with the default theme. Please, give us permissions to do this so we can check the issue further.
Thank you in advance.
October 26, 2022 at 3:24 pm #416717
sportswing.inParticipanthello,
go to appearance>>customize>> screenshot: https://prnt.sc/yHl7uMSvrLKL >> click on change button>> click on live preview to which theme you want to change >> after that click on Activate publish>> screenshot: https://prnt.sc/f8EVUEYOzrS-
theme will be changed
October 26, 2022 at 3:43 pm #416730
Artem TemosKeymasterWe activated the default theme but still see the same errors in the log. So it is not something related to our theme.
Kind Regards
October 26, 2022 at 3:55 pm #416740
sportswing.inParticipanthello,
we are working on wordpress since last 6 years, with single theme till now even single error not received in this type, after switching to woodmart, we are getting error,
Please look into this seriouslyOctober 26, 2022 at 5:36 pm #416765
sportswing.inParticipanthello,
issue resolved. by repairing database
thank you
October 26, 2022 at 8:41 pm #416789
Artem TemosKeymasterGreat, we are glad that you sorted it out. Feel free to contact us if you have any further questions.
Kind Regards
-
AuthorPosts
The topic ‘WordPress database error Duplicate entry error’ is closed to new replies.
- You must be logged in to create new topics. Login / Register