• Resolved denaturat

    (@denaturat)


    Our core instance has a problem with language detection. It looks like automatic GEOIP doesn’t work at all. It worked at the same configuration, something happen few days ago and all orders/all visitors have default locale – Polish language.

    It should be: …./de/ German locale/German country as default in orders for German IP’s now it always Polish/default-lanaguage. So, our German clients have “Poland” as default country.

    We have taken some actions before writing this ticket.

    – Update WP/Woocommerce/Core
    – Disable 3rd plugins
    – Reload/reinstall MaxMind GEO IP Database
    – Check server/client IP settings (HTTP_FORWARD etc etc)
    – Template changes (default)
    – Use VPN/Other IP’s and even virtual machines
    – Generate new htaccess (including WPML)

    Unfortunately, most orders has default Poland/Polish country. Language detection at homepage doesn’t work at all too.

    System status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://shop.oncheckout.com
    Site address (URL): https://shop.oncheckout.com
    WC Version: 4.2.2
    REST API Version: ✔ 1.0.8
    WC Blocks Version: ✔ 2.5.16
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.2.4
    Log Directory Writable: ✔
    WP Version: 5.4.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: pl_PL
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.3.19
    PHP Post Max Size: 100 MB
    PHP Time Limit: 600
    PHP Max Input Vars: 5000
    cURL Version: 7.70.0
    OpenSSL/1.1.0l
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.13-MariaDB
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.2.2
    WC Database Prefix: shop_
    Całkowity rozmiar bazy danych: 953.77MB
    Rozmiar bazy danych: 766.63MB
    Rozmiar indeksu bazy danych: 187.14MB
    shop_woocommerce_sessions: Dane: 168.02MB + Indeks: 0.14MB + Silnik InnoDB
    shop_woocommerce_api_keys: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_woocommerce_attribute_taxonomies: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_woocommerce_downloadable_product_permissions: Dane: 0.02MB + Indeks: 0.17MB + Silnik InnoDB
    shop_woocommerce_order_items: Dane: 2.52MB + Indeks: 3.03MB + Silnik InnoDB
    shop_woocommerce_order_itemmeta: Dane: 30.56MB + Indeks: 15.55MB + Silnik InnoDB
    shop_woocommerce_tax_rates: Dane: 0.02MB + Indeks: 0.08MB + Silnik InnoDB
    shop_woocommerce_tax_rate_locations: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    shop_woocommerce_shipping_zones: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_woocommerce_shipping_zone_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_woocommerce_shipping_zone_methods: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_woocommerce_payment_tokens: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_woocommerce_payment_tokenmeta: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    shop_woocommerce_log: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_actionscheduler_actions: Dane: 1.36MB + Indeks: 1.06MB + Silnik InnoDB
    shop_actionscheduler_claims: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_actionscheduler_groups: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_actionscheduler_logs: Dane: 1.38MB + Indeks: 1.77MB + Silnik InnoDB
    shop_atum_order_itemmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_atum_order_items: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_atum_product_data: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    shop_bwf_actions: Dane: 0.02MB + Indeks: 0.09MB + Silnik InnoDB
    shop_bwf_action_claim: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_bwf_contact: Dane: 0.34MB + Indeks: 0.48MB + Silnik InnoDB
    shop_bwf_contact_meta: Dane: 1.48MB + Indeks: 0.00MB + Silnik InnoDB
    shop_bwf_wc_customers: Dane: 0.25MB + Indeks: 0.17MB + Silnik InnoDB
    shop_commentmeta: Dane: 0.09MB + Indeks: 0.11MB + Silnik InnoDB
    shop_comments: Dane: 5.52MB + Indeks: 5.95MB + Silnik InnoDB
    shop_duplicator_packages: Dane: 0.34MB + Indeks: 0.02MB + Silnik InnoDB
    shop_hurrytimer_evergreen: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_icl_content_status: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_icl_core_status: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_icl_flags: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_icl_languages: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_icl_languages_translations: Dane: 0.20MB + Indeks: 0.13MB + Silnik InnoDB
    shop_icl_locale_map: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_icl_message_status: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_icl_mo_files_domains: Dane: 0.16MB + Indeks: 0.05MB + Silnik InnoDB
    shop_icl_node: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_icl_reminders: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_icl_strings: Dane: 9.52MB + Indeks: 17.39MB + Silnik InnoDB
    shop_icl_string_packages: Dane: 0.06MB + Indeks: 0.00MB + Silnik InnoDB
    shop_icl_string_pages: Dane: 30.56MB + Indeks: 44.14MB + Silnik InnoDB
    shop_icl_string_positions: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_icl_string_status: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_icl_string_translations: Dane: 31.56MB + Indeks: 34.09MB + Silnik InnoDB
    shop_icl_string_urls: Dane: 0.06MB + Indeks: 0.05MB + Silnik InnoDB
    shop_icl_translate: Dane: 4.50MB + Indeks: 0.08MB + Silnik InnoDB
    shop_icl_translate_job: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_icl_translations: Dane: 1.52MB + Indeks: 2.83MB + Silnik InnoDB
    shop_icl_translation_batches: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_icl_translation_downloads: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_icl_translation_status: Dane: 4.48MB + Indeks: 0.25MB + Silnik InnoDB
    shop_links: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_litespeed_img_optm: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_ms_snippets: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_options: Dane: 17.06MB + Indeks: 6.22MB + Silnik InnoDB
    shop_pillowcode_popup_settings: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_pillowcode_post_id: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_pmxi_files: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_pmxi_history: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_pmxi_images: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_pmxi_imports: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_pmxi_posts: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_pmxi_templates: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_postmeta: Dane: 376.61MB + Indeks: 41.08MB + Silnik InnoDB
    shop_posts: Dane: 70.33MB + Indeks: 6.84MB + Silnik InnoDB
    shop_revslider_css: Dane: 0.13MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_css_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_layer_animations: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_layer_animations_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_navigations: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_navigations_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_sliders: Dane: 0.08MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_sliders_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_slides: Dane: 0.19MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_slides_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_static_slides: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_revslider_static_slides_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_shortpixel_folders: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_shortpixel_meta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_snippets: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_social_users: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_stock_in_history: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_termmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_terms: Dane: 0.05MB + Indeks: 0.03MB + Silnik InnoDB
    shop_term_relationships: Dane: 0.09MB + Indeks: 0.06MB + Silnik InnoDB
    shop_term_taxonomy: Dane: 0.05MB + Indeks: 0.03MB + Silnik InnoDB
    shop_usermeta: Dane: 0.09MB + Indeks: 0.03MB + Silnik InnoDB
    shop_users: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    shop_wc_admin_notes: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_wc_admin_note_actions: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_wc_category_lookup: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_wc_customer_lookup: Dane: 0.45MB + Indeks: 0.36MB + Silnik InnoDB
    shop_wc_download_log: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    shop_wc_order_coupon_lookup: Dane: 0.22MB + Indeks: 0.23MB + Silnik InnoDB
    shop_wc_order_product_lookup: Dane: 1.52MB + Indeks: 1.00MB + Silnik InnoDB
    shop_wc_order_stats: Dane: 1.52MB + Indeks: 1.38MB + Silnik InnoDB
    shop_wc_order_tax_lookup: Dane: 1.52MB + Indeks: 0.58MB + Silnik InnoDB
    shop_wc_product_meta_lookup: Dane: 0.05MB + Indeks: 0.09MB + Silnik InnoDB
    shop_wc_tax_rate_classes: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_wc_webhooks: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
    shop_wfco_report_views: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    shop_wfob_stats: Dane: 0.02MB + Indeks: 0.08MB + Silnik InnoDB
    shop_wfocu_event: Dane: 0.27MB + Indeks: 0.39MB + Silnik InnoDB
    shop_wfocu_event_meta: Dane: 0.41MB + Indeks: 0.00MB + Silnik InnoDB
    shop_wfocu_session: Dane: 0.09MB + Indeks: 0.06MB + Silnik InnoDB
    shop_wpda_csv_uploads: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_wpmailsmtp_tasks_meta: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
    shop_yith_wcwl: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
    shop_yith_wcwl_lists: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
    
    ### Post Type Counts ###
    
    attachment: 12558
    atum_inventory_log: 1
    atum_supplier: 1
    blocks: 12
    custom_css: 2
    customize_changeset: 34
    elementor_library: 33
    featured_item: 8
    hurrytimer_countdown: 1
    jetpack_migration: 2
    mc4wp-form: 1
    nav_menu_item: 116
    page: 164
    post: 40
    product: 207
    product_variation: 63
    revision: 2486
    shipment: 3520
    shop_coupon: 3
    shop_order: 5875
    shop_order_refund: 658
    wfacp_checkout: 128
    wfocu_funnel: 4
    wfocu_offer: 5
    wpcf7_contact_form: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (40) ###
    
    WPML Multilingual CMS: przez OnTheGoSystems – 4.3.15
    Redux Framework: przez Zespół Redux – 3.6.18
    Adminer: przez Frank Bültge – 1.4.2
    Code Snippets: przez Code Snippets Pro – 2.14.0
    Custom Order Numbers for WooCommerce: przez Tyche Softwares – 1.2.10 – Installed version not tested with active version of WooCommerce 4.2.2
    Disable Gutenberg: przez Jeff Starr – 2.1
    Duplicator: przez Snap Creek – 1.3.36
    Elementor Pro: przez Elementor.com – 2.8.2
    Elementor: przez Elementor.com – 2.9.13
    Flexible Shipping PRO: przez WP Desk – 1.11.1
    Flexible Shipping: przez WP Desk – 3.9.21
    Font Awesome: przez Font Awesome – 4.0.0-rc20
    Fr Multi Bank Transfer Payment Gateways for WooCommerce: przez Fahri Rusliyadi – 1.1.0 – Installed version not tested with active version of WooCommerce 4.2.2
    Granular Controls Elementor: przez Zulfikar Nore – 1.0.5
    MC4WP: Mailchimp for WordPress: przez ibericode – 4.7.8
    Nextend Social Login: przez Nextendweb – 3.0.24
    Perfmatters: przez forgemedia – 1.4.1
    Pillowcode - Rozszerzenia: przez Pillowcode – 1.1
    Really Simple SSL: przez Really Simple Plugins – 3.3.4
    Slider Revolution: przez ThemePunch – 6.2.10
    ShortPixel Image Optimizer: przez ShortPixel – 4.19.2
    SVG Support: przez Benbodhi – 2.3.18
    UpdraftPlus - Kopia/przywracanie: przez UpdraftPlus.Com
    DavidAnderson – 1.16.25
    
    Advanced Order Export For WooCommerce: przez AlgolPlus – 3.1.4
    Variation Swatches for WooCommerce: przez Emran Ahmed – 1.0.84
    WooCommerce Aktywne Płatności: przez WP Desk – 3.6.2 – Installed version not tested with active version of WooCommerce 4.2.2
    WooCommerce Dotpay: przez WP Desk – 2.5.6
    Sofort payment gateway: przez Sven Wagener – 1.3.0 – Installed version not tested with active version of WooCommerce 4.2.2
    WooCommerce Multilingual: przez OnTheGoSystems – 4.9.1
    WooCommerce: przez Automattic – 4.2.2
    AeroCheckout: Custom WooCommerce Checkout Pages: przez WooFunnels – 2.0.6 – Installed version not tested with active version of WooCommerce 4.2.2
    OrderBumps: WooCommerce Checkout Offers: przez WooFunnels – 1.8.1 – Installed version not tested with active version of WooCommerce 4.2.2
    UpStroke: WooCommerce One Click Upsells: przez buildwoofunnels – 2.1.7 – Installed version not tested with active version of WooCommerce 4.2.2
    WooSidebars: przez WooCommerce – 1.4.5
    WP Crontrol: przez John Blackbourn & crontributors – 1.8.5
    WP Mail SMTP: przez WPForms – 2.1.1
    Nested Pages: przez Kyle Phillips – 3.1.11
    WPML String Translation: przez OnTheGoSystems – 3.0.11
    WPML Translation Management: przez OnTheGoSystems – 2.9.8
    Custom Product Tabs for WooCommerce: przez YIKES
    Inc. – 1.7.1 – Installed version not tested with active version of WooCommerce 4.2.2
    
    ### Inactive Plugins (12) ###
    
    AceIDE: przez AceIDE – 2.6.2
    Autoptimize: przez Frank Goossens (futtta) – 2.7.3
    Contact Form 7: przez Takayuki Miyoshi – 5.1.9
    LiteSpeed Cache: przez LiteSpeed Technologies – 3.2.3.2
    Query Monitor: przez John Blackbourn – 3.5.2
    WooCommerce DPD: przez WP Desk – 2.3.1 – Installed version not tested with active version of WooCommerce 4.2.2
    WooCommerce iFirma: przez WP Desk – 3.2.2 – Installed version not tested with active version of WooCommerce 4.2.2
    WooCommerce Price Based on Country (Basic): przez Oscar Gare – 2.0.8
    WooCommerce UPS Shipping Plugin with Print Label: przez PluginHive – 3.14.8 – Installed version not tested with active version of WooCommerce 4.2.2
    YITH WooCommerce Compare: przez YITH – 2.3.22
    YITH WooCommerce Quick View: przez YITH – 1.4.2
    YITH WooCommerce Wishlist: przez YITH – 3.0.11
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (2) ###
    
    Elementor Safe Mode: przez Elementor.com – 1.0.0
    rms_unique_wp_mu_pl_fl_nm.php: przez  –
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: PLN (zł)
    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 ###
    
    Strona sklepu: #340 - /sklep/
    Koszyk: #8 - /cart/
    Zamówienie: #9 - /checkout/
    Moje konto: #10 - /my-account/
    Regulamin: ❌ Strona nie ustawiona
    
    ### Theme ###
    
    Name: Ekommart Child
    Version: 1.7.2
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Ekommart
    Parent Theme Version: 1.7.2
    Parent Theme Author URL: https://www.wpopal.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: ekommart/woocommerce/cart/mini-cart.php
    ekommart/woocommerce/checkout/form-checkout.php
    ekommart/woocommerce/content-widget-product.php
    ekommart/woocommerce/content-widget-reviews.php
    ekommart/woocommerce/loop/loop-start.php
    ekommart/woocommerce/myaccount/form-login.php
    ekommart/woocommerce/order/form-tracking.php
    ekommart/woocommerce/product-searchform.php
    ekommart/woocommerce/single-product/title.php
    
    ### Action Scheduler ###
    
    Zrealizowane: 4 479
    Oldest: 2020-06-02 10:08:11 +0200
    Newest: 2020-07-03 08:26:03 +0200
    
    Oczekująca: 2
    Oldest: 2020-07-04 07:03:55 +0200
    Newest: 2020-07-06 09:59:05 +0200
    
    
    • This topic was modified 3 years, 9 months ago by denaturat.
    • This topic was modified 3 years, 9 months ago by denaturat.
    • This topic was modified 3 years, 9 months ago by denaturat.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    The core WooCommerce plugin itself only has geolocation for the purposes of the preselecting the country field on checkout; It doesn’t have any code to preselect language locale based on IP address.

    From what I can see in the status report you shared, it’s likely that *that* functionality is powered by WPML directly. For more support on preselecting language locale based on IP address, please get in touch with the WPML team at https://wpml.org/forums/forum/english-support/

Viewing 1 replies (of 1 total)
  • The topic ‘Automatic language detection problem’ is closed to new replies.