• Resolved mmmediterranean

    (@mmmediterranean)


    Hello,

    I try to input one code to a product, but it’s says an error message: Invalid or duplicate SKU.

    When I looked into the all products page for the code in the search area “search products”, no product show’s up which means there is no product with this code.

    I don’t understand why it says the error message then the code is : SA55218

    There is many other product we have with this kind of code. So I don’t know why this one should be invalid.

    Any clue on how to fix that ?

    Thank you,

Viewing 9 replies - 1 through 9 (of 9 total)
  • witchystitchy

    (@witchystitchy)

    Is it possible that sku is there but in the trash?

    Thread Starter mmmediterranean

    (@mmmediterranean)

    Thanks for your reply, On the product page I only have: All | Published | Draft | Cornerstone content | Sorting

    No trash, so I can’t check it out.

    Where do you find trashed products?

    Mirko P.

    (@rainfallnixfig)

    Hi @mmmediterranean,

    It seems you do not have trashed products as it will display in the products page options.

    Can you clear WooCommerce transients from WP dashboard > WooCommerce > Status > Tools and see if that helps?

    Thanks.

    Thread Starter mmmediterranean

    (@mmmediterranean)

    I cleared the transients, still the same ??

    Mirko P.

    (@rainfallnixfig)

    Hi @mmmediterranean,

    Thanks for trying that.

    We appreciate your patience while we investigate this further, could you please share with us the following:

    • System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
    • Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).

    Thanks!

    Thread Starter mmmediterranean

    (@mmmediterranean)

    Hi,

    Here is the copy of the system report:

    —–

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://mmmediterranean.com
    Site address (URL): https://mmmediterranean.com
    WC Version: 5.9.0
    REST API Version: ? 5.9.0
    WC Blocks Version: ? 6.1.0
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.8.0
    Log Directory Writable: ?
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.21.3
    PHP Version: 7.4.25
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.12-MariaDB-1:10.5.12+maria~focal
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.9.0
    WC Database Prefix: ad0_
    Total Database Size: 248.74MB
    Database Data Size: 156.77MB
    Database Index Size: 91.97MB
    ad0_woocommerce_sessions: Data: 15.02MB + Index: 1.39MB + Engine InnoDB
    ad0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    ad0_woocommerce_order_items: Data: 1.52MB + Index: 0.34MB + Engine InnoDB
    ad0_woocommerce_order_itemmeta: Data: 12.52MB + Index: 8.03MB + Engine InnoDB
    ad0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    ad0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_actionscheduler_actions: Data: 9.09MB + Index: 6.09MB + Engine InnoDB
    ad0_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_actionscheduler_logs: Data: 3.16MB + Index: 3.78MB + Engine InnoDB
    ad0_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_aiowps_failed_logins: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_aiowps_login_lockdown: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_check_email_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_commentmeta: Data: 0.25MB + Index: 0.20MB + Engine InnoDB
    ad0_comments: Data: 3.52MB + Index: 3.27MB + Engine InnoDB
    ad0_et_bloom_stats: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
    ad0_et_social_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_mailchimp_carts: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
    ad0_mailchimp_jobs: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    ad0_options: Data: 29.41MB + Index: 10.00MB + Engine InnoDB
    ad0_postmeta: Data: 57.58MB + Index: 40.03MB + Engine InnoDB
    ad0_posts: Data: 12.30MB + Index: 8.39MB + Engine InnoDB
    ad0_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    ad0_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    ad0_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    ad0_usermeta: Data: 0.50MB + Index: 0.41MB + Engine InnoDB
    ad0_users: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    ad0_vtprd_purchase_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_vtprd_purchase_log_product: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_vtprd_purchase_log_product_rule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_vtprd_transient_cart_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_wc_customer_lookup: Data: 0.16MB + Index: 0.13MB + Engine InnoDB
    ad0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_wc_order_coupon_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    ad0_wc_order_product_lookup: Data: 1.52MB + Index: 1.14MB + Engine InnoDB
    ad0_wc_order_stats: Data: 0.27MB + Index: 0.25MB + Engine InnoDB
    ad0_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    ad0_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    ad0_wpml_mails: Data: 0.38MB + Index: 0.00MB + Engine InnoDB
    ad0_yoast_indexable: Data: 5.42MB + Index: 6.75MB + Engine InnoDB
    ad0_yoast_indexable_hierarchy: Data: 0.14MB + Index: 0.20MB + Engine InnoDB
    ad0_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    ad0_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    ad0_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    ad0_yoast_seo_meta: Data: 0.31MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 1.52MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 749
    awdp_pt_rules: 1
    custom_css: 3
    cwginstocknotifier: 229
    et_body_layout: 4
    et_footer_layout: 1
    et_header_layout: 1
    et_pb_layout: 22
    et_template: 6
    et_theme_builder: 3
    ig_message: 4
    nav_menu_item: 155
    oembed_cache: 18797
    page: 24
    post: 38
    product: 104
    product_variation: 134
    revision: 126
    seedprod: 3
    shop_coupon: 716
    shop_order: 2386
    shop_order_refund: 39
    wcbd_archive_layout: 12
    woo_discount: 2
    woo_discount_cart: 1
    wphash_ntf_bar: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (29) ###
    
    All In One WP Security: by Tips and Tricks HQ
    Peter Petreski
    Ruhul
    Ivy – 4.4.9
    
    WooCommerce Authorize.net Premium: by Indatos Technologies – 14.7
    Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 2.4.2
    Bloom: by Elegant Themes – 1.3.12
    Bridge Connector: by  – 1.0.0
    Child Theme Configurator: by Lilaea Media – 2.5.8
    Customer Reviews for WooCommerce: by CusRev – 4.31
    Facebook for WooCommerce: by Facebook – 2.6.7
    Flexible Shipping: by WP Desk – 4.10.1
    Mailchimp for WooCommerce: by Mailchimp – 2.5.4
    Really Simple SSL: by Really Simple Plugins – 5.2.0
    Retainful - Abandoned Cart Recovery Emails and Next Order Coupons: by Retainful – 2.6.4
    Sold Out Badge for WooCommerce: by Charlie Etienne – 2.0.10
    Swap Google Fonts Display: by FlyingPress – 1.1.0
    WooCommerce Builder For Divi: by Abdelfatah Aboelghit | DiviKingdom.Com – 4.0.2
    Product Feed PRO for WooCommerce: by AdTribes.io – 10.9.0
    Additional Variation Images Gallery for WooCommerce - Pro: by Emran Ahmed – 1.2.7
    Additional Variation Images Gallery for WooCommerce: by Emran Ahmed – 1.2.8
    WooCommerce Pixel Manager: by woopt – 1.11.7
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.4
    Booster for WooCommerce: by Pluggabl LLC – 5.4.8
    WooCommerce Menu Cart: by Jeremiah Prummer
    Ewout Fernhout – 2.10.1
    
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.20
    WooCommerce - ShipStation Integration: by WooCommerce – 4.1.48
    WooCommerce: by Automattic – 5.9.0
    Yoast SEO: by Team Yoast – 17.6
    Hummingbird Pro: by WPMU DEV – 3.2.1
    Smush Pro: by WPMU DEV – 3.9.3
    WPMU DEV Dashboard: by WPMU DEV – 4.11.6
    
    ### Inactive Plugins (0) ###
    
    ### Must Use Plugins (2) ###
    
    Kinsta Must-use Plugins: by Kinsta Team – 2.3.7
    SSO: by Garth Mortensen
    Mike Hansen – 0.3
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: ?
    
    ### WC Pages ###
    
    Shop base: #1583 - /shop/
    Cart: #1584 - /cart/
    Checkout: #1585 - /checkout/
    My account: #1586 - /my-account/
    Terms and conditions: #1402 - /terms-conditions/
    
    ### Theme ###
    
    Name: Divi Child
    Version: 4.6.6.1602840438
    Author URL: https://www.elegantthemes.com
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.14.1
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: /www/mmmediterraneancom_893/public/wp-content/plugins/woo-variation-gallery/templates/product-images.php
    /www/mmmediterraneancom_893/public/wp-content/plugins/woo-variation-gallery/templates/product-thumbnails.php
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2021-11-14 13:51:52 -0500
    Newest: 2021-11-14 13:51:52 -0500
    
    Complete: 14,210
    Oldest: 2021-10-26 05:27:46 -0400
    Newest: 2021-11-26 04:25:19 -0500
    
    Failed: 26
    Oldest: 2019-11-14 09:43:49 -0500
    Newest: 2021-11-23 14:42:23 -0500
    
    Pending: 5
    Oldest: 2021-11-26 04:29:09 -0500
    Newest: 2021-12-01 03:44:47 -0500
    
    ### Status report information ###
    
    Generated at: 2021-11-26 04:25:22 -05:00
    

    —–

    Doesn’t seem to be any fatal error in the logs file.

    Thanks,

    @mmmediterranean

    Are you using any translation plugins?

    On your dashboard, go to “Woocommerce > Status > Tools” and click on Delete orphaned variations, to see if that helps.

    Otherwise:
    Using the code snippet plugin, you can add the filter below to disable SKU checks:
    `add_filter( ‘wc_product_has_unique_sku’, ‘__return_false’ );’

    I hope this helps! Let me know if you have further questions or if you need further assistance.

    Thread Starter mmmediterranean

    (@mmmediterranean)

    Thanks for your help, I am not using any translation plugin.

    Deleted orphaned variations helped, I was able to add the SKU without any issue.

    Thank you!

    Great! Thanks for letting us know that it got sorted by deleting the orphaned variations.

    I’m marking this thread as resolved. If you have further questions, feel free to create a new thread.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Duplicated SKU’ is closed to new replies.