• Resolved Fujyn

    (@arwah12)


    Hello
    I see in error log with code like this

    2022-02-11T02:11:53+00:00 ERROR Spec is invalid because the locale could not be retrieved in feed
    2022-02-11T02:11:53+00:00 ERROR stdClass Object
    (
        [slug] => lead_gen_existing_customers_1
        [type] => marketing
        [status] => unactioned
        [is_snoozable] => 0
        [source] => woocommerce.com
        [locales] => Array
            (
                [0] => stdClass Object
                    (
                        [locale] => 
                        [title] => Talk to a consultant
                        [content] => As your business grows, you want to optimize costs, streamline operations, and sell more. We can help. Talk to us about how you can get the most out of WooCommerce.
                    )
    
            )
    
        [actions] => Array
            (
                [0] => stdClass Object
                    (
                        [name] => lead_gen_existing_customers_1
                        [locales] => Array
                            (
                                [0] => stdClass Object
                                    (
                                        [locale] => en_US
                                        [label] => Yes, please
                                    )
    
                            )
    
                        [url] => https://woocommerce.com/take-your-business-to-the-next-level/
                        [url_is_admin_query] => 
                        [is_primary] => 
                        [status] => actioned
                    )
    
            )
    
        [rules] => Array
            (
                [0] => stdClass Object
                    (
                        [type] => publish_after_time
                        [publish_after] => 2022-02-10 18:10:54
                    )
    
                [1] => stdClass Object
                    (
                        [type] => publish_before_time
                        [publish_before] => 2022-02-13 23:59:00
                    )
    
                [2] => stdClass Object
                    (
                        [type] => or
                        [operands] => Array
                            (
                                [0] => stdClass Object
                                    (
                                        [type] => base_location_country
                                        [operation] => =
                                        [value] => US
                                    )
    
                                [1] => stdClass Object
                                    (
                                        [type] => base_location_country
                                        [operation] => =
                                        [value] => CA
                                    )
    
                                [2] => stdClass Object
                                    (
                                        [type] => base_location_country
                                        [operation] => =
                                        [value] => ZA
                                    )
    
                            )
    
                    )
    
            )
    
    )

    what is the error and how to fix it
    Thank You

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @arwah12

    Thanks for sharing the code.

    A. May I know where are you getting this error? Is it appearing upon performing a particular action?

    B. In order to check your configuration and assist you further, kindly share the following:

    1. 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.
    2. Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
    Thread Starter Fujyn

    (@arwah12)

    Hi @margaretwporg
    i see error code in WooCommerce > Status > Log

    • This reply was modified 2 years, 9 months ago by Fujyn.

    Hello,

    I understand you have the error provided in your Site’s error log.

    To take a better look, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    Can you provide the complete error log found under WooCommerce > System Status > Logs (if available).

    Let us know, thanks.

    • This reply was modified 2 years, 9 months ago by Igor H.
    Thread Starter Fujyn

    (@arwah12)

    sorry in advance,
    can it be marked as private that I share? Get system report

    Mirko P.

    (@rainfallnixfig)

    Hi @arwah12,

    What you share here is public as this is a public forum. You may want to redact or remove any sensitive information on the System Status Report. Most users find removing their site’s URL sufficient.

    You could use a service such as Pastebin and set the deadline to a week or two weeks, just to get enough time for us to look at it and help you with the issue. Setting an expiration date will automatically remove the paste in Pastebin after a certain amount of time.

    Cheers.

    Hi @arwah12!

    I’m afraid that’s not possible since it’s a public forum.

    I’d also recommend double-checking your locale settings on WooCommerce, it looks like that WooCommerce isn’t unable to determine your location (US, CA, and ZA), but we’ll need more information to investigate that!

    I hope to hear from you soon! Thank you!

    Hi @chiape

    I’m having the same error as illustrated above. In our case, taxes are no longer calculating as WooCommerce is unable to determine the location. Below is the System Status panel output for review.

    
    ### WordPress Environment ###
    
    WordPress address (URL):
    Site address (URL): 
    WC Version: 6.2.0
    REST API Version: ? 6.2.0
    WC Blocks Version: ? 6.7.3
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.1.0
    Log Directory Writable: ?
    WP Version: 5.9
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.26
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.36-39-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.2.0
    WC Database Prefix: wp_
    Total Database Size: 870.93MB
    Database Data Size: 718.64MB
    Database Index Size: 152.29MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.17MB + Index: 0.20MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 1.03MB + Index: 0.09MB + Engine InnoDB
    wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 6.48MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 6.52MB + Index: 3.00MB + Engine InnoDB
    wp_posts: Data: 2.50MB + Index: 0.42MB + Engine InnoDB
    wp_redirection_404: Data: 2.02MB + Index: 0.33MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
    wp_redirection_logs: Data: 0.11MB + Index: 0.05MB + 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.06MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_trp_dictionary_en_us_de_de: Data: 41.56MB + Index: 14.61MB + Engine InnoDB
    wp_trp_dictionary_en_us_es_mx: Data: 73.59MB + Index: 17.63MB + Engine InnoDB
    wp_trp_dictionary_en_us_fr_fr: Data: 31.56MB + Index: 11.61MB + Engine InnoDB
    wp_trp_dictionary_en_us_it_it: Data: 38.56MB + Index: 13.61MB + Engine InnoDB
    wp_trp_dictionary_en_us_ja: Data: 44.56MB + Index: 10.61MB + Engine InnoDB
    wp_trp_dictionary_en_us_ko_kr: Data: 28.55MB + Index: 9.58MB + Engine InnoDB
    wp_trp_dictionary_en_us_pt_pt: Data: 31.56MB + Index: 9.58MB + Engine InnoDB
    wp_trp_dictionary_en_us_ru_ru: Data: 39.56MB + Index: 10.61MB + Engine InnoDB
    wp_trp_dictionary_en_us_zh_cn: Data: 37.56MB + Index: 10.59MB + Engine InnoDB
    wp_trp_gettext_de_de: Data: 0.39MB + Index: 0.38MB + Engine InnoDB
    wp_trp_gettext_en_us: Data: 0.42MB + Index: 0.53MB + Engine InnoDB
    wp_trp_gettext_es_mx: Data: 0.41MB + Index: 0.41MB + Engine InnoDB
    wp_trp_gettext_fr_fr: Data: 0.41MB + Index: 0.39MB + Engine InnoDB
    wp_trp_gettext_it_it: Data: 0.41MB + Index: 0.38MB + Engine InnoDB
    wp_trp_gettext_ja: Data: 0.42MB + Index: 0.39MB + Engine InnoDB
    wp_trp_gettext_ko_kr: Data: 0.41MB + Index: 0.38MB + Engine InnoDB
    wp_trp_gettext_pt_pt: Data: 0.38MB + Index: 0.38MB + Engine InnoDB
    wp_trp_gettext_ru_ru: Data: 0.47MB + Index: 0.41MB + Engine InnoDB
    wp_trp_gettext_zh_cn: Data: 0.39MB + Index: 0.39MB + Engine InnoDB
    wp_trp_original_meta: Data: 0.38MB + Index: 0.53MB + Engine InnoDB
    wp_trp_original_strings: Data: 309.75MB + Index: 31.75MB + Engine InnoDB
    wp_usermeta: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_vxcf_netsuite: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_vxcf_netsuite_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_vxcf_netsuite_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 3.30MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 2.02MB + Index: 0.23MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 1.42MB + Index: 0.16MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfwafconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.66MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.19MB + Index: 0.23MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.16MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 61
    acf-field-group: 13
    addify_acr_carts: 13
    addify_acr_emails: 1
    addify_acr_logs: 5
    attachment: 886
    cf7af_data: 446
    eeps_product: 1
    language_switcher: 11
    nav_menu_item: 65
    oembed_cache: 47
    page: 232
    post: 36
    product: 154
    product_variation: 2
    revision: 2
    shop_order: 26
    shop_order_refund: 2
    wp_block: 1
    wp_global_styles: 1
    wpcf7_contact_form: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (24) ###
    
    Abandoned Contact Form 7: by ZealousWeb – 1.3
    Abandoned Cart Recovery: by Addify – 1.1.0
    Advanced Custom Fields PRO: by Delicious Brains – 5.11.4
    Akismet Anti-Spam: by Automattic – 4.2.2
    Autoptimize: by Frank Goossens (futtta) – 2.9.5.1
    Category Tag Pages: by Marzio Carro – 1.0
    Contact Form 7 - Dynamic Text Extension: by Chris Mavricos
    SevenSpark – 2.0.3
    
    Contact Form 7: by Takayuki Miyoshi – 5.5.5
    Google Listings and Ads: by WooCommerce – 1.11.1
    Media Library Assistant: by David Lingren – 2.99
    Redirection: by John Godley – 5.2.3
    Simple Sitemap Pro: by David Gwyer – 3.5.4
    TinyPNG - JPEG, PNG & WebP image compression: by TinyPNG – 3.3
    WooCommerce Breadcrumbs: by Anthony Hortin – 1.0.8
    WooCommerce Authorize.Net Gateway: by SkyVerge – 3.4.0
    WooCommerce Payments: by Automattic – 3.7.0
    WooCommerce Product Add-ons: by WooCommerce – 3.3.0
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.23
    WooCommerce Shipping Per Product v2: by WooCommerce – 2.3.13
    WooCommerce: by Automattic – 6.2.0
    Wordfence Security: by Wordfence – 7.5.8
    Yoast SEO: by Team Yoast – 18.1
    Nested Pages: by Kyle Phillips – 3.1.20
    Yoast SEO: WooCommerce: by Team Yoast – 14.6
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Memcached Redux
    
    ### Must Use Plugins (6) ###
    
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WPE ElasticPress Autosuggest Logger: by WP Engine – 1.0.0
    WP Engine Cache Plugin: by WP Engine – 1.0.5
    WP Engine Seamless Login Plugin: by WP Engine – 1.5.5
    WP Engine Security Auditor: by wpengine – 1.0.10
    WP Engine System: by WP Engine – 5.0.1
    
    ### 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)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: #2942 - /shop/
    Cart: #2943 - /cart/
    Checkout: #2944 - /checkout/
    My account: #2945 - /my-account/
    Terms and conditions: #206 - /legal-notice/
    
    ### Theme ###
    
    Name: UnderStrap Child
    Version: 0.6.2
    Author URL:
    Child Theme: ?
    Parent Theme Name: Understrap
    Parent Theme Version: 1.1.0
    Parent Theme Author URL:
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: understrap/woocommerce/cart/cart-empty.php
    understrap/woocommerce/cart/cart.php
    understrap/woocommerce/cart/proceed-to-checkout-button.php
    understrap/woocommerce/checkout/form-checkout.php
    understrap/woocommerce/checkout/form-coupon.php
    understrap/woocommerce/checkout/form-pay.php
    understrap/woocommerce/checkout/payment.php
    understrap/woocommerce/global/form-login.php
    understrap/woocommerce/loop/add-to-cart.php
    understrap/woocommerce/loop/orderby.php
    understrap/woocommerce/myaccount/downloads.php
    understrap/woocommerce/myaccount/form-edit-account.php
    understrap/woocommerce/myaccount/form-edit-address.php
    understrap/woocommerce/myaccount/form-login.php
    understrap/woocommerce/myaccount/form-lost-password.php
    understrap/woocommerce/myaccount/form-reset-password.php
    understrap/woocommerce/myaccount/my-address.php
    understrap/woocommerce/myaccount/my-orders.php
    understrap/woocommerce/myaccount/navigation.php
    understrap/woocommerce/myaccount/orders.php
    understrap/woocommerce/product-searchform.php
    understrap/woocommerce/single-product/add-to-cart/simple.php
    understrap/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    
    ### Subscriptions ###
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://eepowersolutions.com
    Subscription Statuses: –
    WooCommerce Account Connected: ? No
    
    ### Store Setup ###
    
    Country / State: United States (US) — Wisconsin
    
    ### Payment Gateway Support ###
    
    Authorize.Net Credit Card: products
    card_types
    payment_form
    inline
    lightbox
    tokenization
    token_editor
    charge
    charge-virtual
    authorization
    capture_charge
    customer_decline_messages
    refunds
    voids
    customer_id
    add_payment_method
    apple_pay
    
    ### Authorize.Net Credit Card ###
    
    Environment: Production
    Tokenization Enabled: ?
    Debug Mode: Off
    Webhooks Enabled: ?
    
    ### WooCommerce Payments ###
    
    Version: 3.7.0
    Connected to WPCOM: Yes
    Blog ID: 192254953
    Account ID: acct_1IjS4d2H4T9MCpE7
    
    ### Action Scheduler ###
    
    Complete: 461
    Oldest: 2022-01-15 14:41:07 -0600
    Newest: 2022-02-15 13:20:46 -0600
    
    Pending: 2
    Oldest: 2022-02-15 14:38:31 -0600
    Newest: 2022-02-16 13:20:46 -0600
    
    ### Status report information ###
    
    Generated at: 2022-02-15 13:24:02 -06:00
    

    Hi @jimrhines@

    We are sorry that you are having the same issue.

    Since is every case and setup is different, kindly open your own topic so we can address your request appropriately.

    Cheers!

    @judagutor Will do – thanks.

    Mirko P.

    (@rainfallnixfig)

    @jimrhines – Sounds good!

    @arwah12 Upon further checking it seems the constant error that is being logged comes from one of the Marketplace extensions. We believe this may be seen only on sites that have enabled Marketplace suggestions:

    A conflict test would help narrow down which extension it comes from. For more detailed instructions about conflict testing, check out this – How to test for plugin and theme conflicts.

    Hope this helps.

    We haven’t heard back from you in a while, so I’m going to mark this thread as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘ERROR Spec is invalid because the locale could not be retrieved in feed’ is closed to new replies.