Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

United Kingdom missing from Europe Zone Regions #45483

Open
3 of 5 tasks
johnfc2021 opened this issue Mar 11, 2024 · 1 comment
Open
3 of 5 tasks

United Kingdom missing from Europe Zone Regions #45483

johnfc2021 opened this issue Mar 11, 2024 · 1 comment

Comments

@johnfc2021
Copy link

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

In Shipping -> Shipping Zones there is no United Kingdom in Europe in v 8.6.1 where it was in previous versions so the store returns: "Unfortunately we do not deliver to to the GB. Please enter an alternative delivery address"

Expected behavior

Typing "United K" into the filter should bring up United Kingdom in Europe.

Actual behavior

United Kingdom is not found, nor is Great Britain or England so the country no longer exists on WooCommerce so nobody can order with version 8.6.1 it seems.

Steps to reproduce

  1. Go to WooCommerce
  2. Go to Settings
  3. Go to Shipping
  4. Go to Shipping Zones
  5. Click Add Zone or Edit an existing zone
  6. Enter United Kingdom in the Zone regions box

WordPress Environment

`

WordPress Environment

WordPress address (URL): https://skin-solved.co.uk
Site address (URL): https://skin-solved.co.uk
WC Version: 8.6.1
REST API Version: ✔ 8.6.1
WC Blocks Version: ✔ 11.8.0-dev
Action Scheduler Version: ✔ 3.7.1
Log Directory Writable: ✔
WP Version: 6.4.3
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: –
WP Cron: ✔
Language: en_GB
External object cache: –

Server Environment

Server Info: LiteSpeed
PHP Version: 7.4.33
PHP Post Max Size: 1 GB
PHP Time Limit: 600
PHP Max Input Vars: 10000
cURL Version: 8.6.0
OpenSSL/1.1.1w

SUHOSIN Installed: –
MySQL Version: 5.7.44
Max Upload Size: 1 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 8.5.2
WC Database Prefix: wp59_
Total Database Size: 30.00MB
Database Data Size: 26.63MB
Database Index Size: 3.37MB
wp59_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp59_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp59_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp59_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_actionscheduler_actions: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
wp59_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp59_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
wp59_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp59_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
wp59_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp59_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_indexnow_failed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_indexnow_passed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp59_jet_fb_migrations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_jet_fb_records: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_jet_fb_records_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_jet_fb_records_errors: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_jet_fb_records_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_jet_post_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_jet_taxonomies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_jet_widgets_styles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_options: Data: 11.02MB + Index: 0.14MB + Engine InnoDB
wp59_postmeta: Data: 7.48MB + Index: 0.53MB + Engine InnoDB
wp59_posts: Data: 6.48MB + Index: 0.13MB + Engine InnoDB
wp59_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp59_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp59_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wp59_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp59_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp59_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp59_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp59_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_wc_product_meta_lookup: Data: 0.03MB + Index: 0.09MB + Engine InnoDB
wp59_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp59_yoast_indexable: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
wp59_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp59_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp59_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp59_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

Post Type Counts

attachment: 33
custom_css: 1
elementor_library: 7
jet-form-builder: 1
jet-woo-builder: 2
nav_menu_item: 9
page: 11
post: 2
product: 13
product_variation: 96
revision: 462
shop_coupon: 2
wp_global_styles: 1

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (14)

Elementor Pro: by Elementor.com – 3.19.3
Elementor: by Elementor.com – 3.19.4
Head, Footer and Post Injections: by Stefano Lissa – 3.2.7
IndexNow: by Microsoft Bing – 1.0.2
JetFormBuilder Save Form Progress: by Crocoblock – 1.0.6
JetWooBuilder For Elementor: by Crocoblock – 2.0.4
JetProductGallery: by Crocoblock – 2.1.6
JetFormBuilder: by Crocoblock – 3.3.2
Optin Forms: by FancyThemes – 1.3.6
WooCommerce Stripe Gateway: by WooCommerce – 8.0.0
WooPayments: by Automattic – 7.3.0
WooCommerce PayPal Payments: by WooCommerce – 2.5.4
WooCommerce: by Automattic – 8.6.1
Yoast SEO: by Team Yoast – 22.2

Inactive Plugins (0)

Must Use Plugins (1)

Elementor Safe Mode: by Elementor.com – 1.0.0

Settings

API Enabled: –
Force SSL: –
Currency: GBP (£)
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 Woo.com: ✔
Enforce Approved Product Download Directories: ✔
HPOS feature screen enabled: –
HPOS feature enabled: –
Order datastore: WC_Order_Data_Store_CPT
HPOS data sync enabled: –

WC Pages

Shop base: #12 - /shop/
Basket: #13 - /cart/
Checkout: #14 - /checkout/
My account: #15 - /my-account/
Terms and conditions: ❌ Page not set

Theme

Name: Hello Elementor
Version: 3.0.1
Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build
personally we recommend using a child theme. See: How to create a child theme

WooCommerce Support: ✔

Templates

Overrides: –

WooPayments

Version: 7.3.0
Connected to WPCOM: Yes
WPCOM Blog ID: 208667995
Account ID: acct_1LMZ6s2HSUQ6AFlo
Payment Gateway: Enabled
Test Mode: Enabled
Enabled APMs: card
WooPay: Not eligible
Apple Pay / Google Pay: Enabled (product,cart,checkout)
Fraud Protection Level: basic
Multi-currency: Enabled
Public Key Encryption: Disabled
Auth and Capture: Enabled
Documents: Enabled
Logging: Disabled

WooCommerce PayPal Payments

Onboarded: ✔
Shop country code: GB
WooCommerce currency supported: ✔
Advanced Card Processing available in country: ✔
Pay Later messaging available in country: ✔
Webhook status: –
PayPal Vault enabled: –
ACDC Vault enabled: –
Logging enabled: –
Reference Transactions: –
Used PayPal Checkout plugin: –
Subscriptions Mode: Disabled

Admin

Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
product-variation-management
product-virtual-downloadable
product-external-affiliate
product-grouped
product-linked
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page

Disabled Features: customize-store
minified-js
new-product-management-experience
product-pre-publish-modal
settings
async-product-editor-category-field

Daily Cron: ✔ Next scheduled: 2024-03-11 16:45:20 +00:00
Options: ✔
Notes: 144
Onboarding: skipped

Action Scheduler

Complete: 37
Oldest: 2024-02-10 10:59:27 +0000
Newest: 2024-03-11 13:27:29 +0000

Failed: 5
Oldest: 2023-02-15 05:54:15 +0000
Newest: 2023-04-20 00:21:04 +0100

Pending: 1
Oldest: 2024-03-12 13:27:29 +0000
Newest: 2024-03-12 13:27:29 +0000

Status report information

Generated at: 2024-03-11 15:08:34 +00:00
`

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
@johnfc2021
Copy link
Author

Okay, a bit of digging revealed the problem with two woocommerce entries in the wp_options table. I found this by creating a dummy site and loading all the plugins that were on the live site and importing the products.

The dummy site had no values in woocommerce_specific_allowed_countries and woocommerce_specific_ship_to_countries but on the live site woocommerce_specific_allowed_countries had 249 entries with GB being entry 233 and woocommerce_specific_ship_to_countries only had 248 entries and US was entry 233 with no GB entry.

I don't know what manipulates these table entries, but by inserting GB and renumbering seems to have resolved the issue. Perhaps the solution is preventing these two from going out of sync, as it is not immediately obvious to the user where the problem is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants