Support » Plugin: WooCommerce » Database error for smart coupons

  • Resolved Vidish



    I am having issue with Smart coupon plugin. I have active subscription, of that plugin.

    Here is the database error that is logged for that plugin. Can you help me understand how can I fix it?

    2020/04/27 17:39:41 [error] 10541#10541: *2163156 access forbidden by rule, client:, server:, request: "HEAD /.well-known/openpgpkey/policy HTTP/1.0", host: ""
    2020/04/27 17:41:56 [error] 10541#10541: *2163626 FastCGI sent in stderr: "PHP message: WordPress database error Duplicate entry 'sc_display_custom_credit_19522_1' for key 'option_name' for query INSERT INTO wpms_options (option_name, option_value, autoload)
    SELECT 'sc_display_custom_credit_19522_1',
    FROM wpms_posts
    WHERE post_type = 'shop_coupon'
    AND post_status = 'publish' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, apply_filters('woocommerce_update_order_review_fragments'), WP_Hook->apply_filters, WC_SC_Display_Coupons->woocommerce_update_order_review_fragments, WC_SC_Display_Coupons->show_available_coupons_before_checkout_form, WC_SC_Display_Coupons->show_available_coupons, WC_SC_Display_Coupons->sc_get_available_coupons_list" while reading response header from upstream, client:, server:, request: "POST /?wc-ajax=update_order_review HTTP/1.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "", referrer: ""

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Database error for smart coupons’ is closed to new replies.