laaau89
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Undefined array key “in_span”Hi Frank,
just to let you know that I’ve checked my functions.php and the issue is not related to my custom theme. All my wc_price() calls pass just the price parameters, and the problem persists even after removing them.
It might be a plugin. This will take me longer to debug, as I will have to create a staging site first.
Anyway, thank you for giving me the hints on what to check. Appreciate your assistance!Forum: Plugins
In reply to: [WooCommerce] Undefined array key “in_span”Thank you Frank for your reply! I confirm that my functions.php calls 9 times wc_price().
However, I see that wc_price() expects $price (required) and $args (optional). $args is made of 7 possible different values, $in_span included, but I’m never passing any $args at all – being optional. Why would just the optional $in_span, out of all of them, raise the warning?
Anyway, I’ll troubleshoot (it will take me some time) and let you know, thanks.
Forum: Plugins
In reply to: [WooCommerce] Different tax rate for same country not working (anymore)Hi @maykato, I changed the priority to 1 and the issue looks fixed.
I’ve also added the ZIP codes of other countries in a similar way, and setting all priorities to 1 everything works fine.I’m not sure why it stopped working with the other priorities set to 2, but I’m happy that it is fixed.
Many thanks for your help! I wish you a nice day
Forum: Plugins
In reply to: [WooCommerce] Different tax rate for same country not working (anymore)Many thanks for your reply!
Here’s a screenshot of my taxes configuration: https://snipboard.io/Q2sxdI.jpg .
The first row contains the Spanish ZIP codes having 0% VAT, and in the last row you can see the 22% applied with priority 2 to the rest of Spain.Here’s the System Status report:
### WordPress Environment ###WordPress address (URL): https://www.maxicarbon.com
Site address (URL): https://www.maxicarbon.com
WC Version: 6.3.1
REST API Version: ✔ 6.3.1
WC Blocks Version: ✔ 6.9.0
Action Scheduler Version: ✔ 3.4.0
WC Admin Version: ✔ 3.2.1
Log Directory Writable: ✔
WP Version: 5.9.2
WP Multisite: –
WP Memory Limit: 768 MB
WP Debug Mode: –
WP Cron: –
Language: it_IT
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.28
PHP Post Max Size: 256 MB
PHP Time Limit: 120
PHP Max Input Vars: 3000
cURL Version: 7.66.0
OpenSSL/1.1.1n-fipsSUHOSIN Installed: –
MySQL Version: 5.7.32-35-log
Max Upload Size: 256 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔### Database ###
WC Database Version: 6.3.1
WC Database Prefix: wp_
Dimensione totale database: 542.72MB
Dimensione dati database: 450.98MB
Dimensione indice database: 91.74MB
wp_woocommerce_sessions: Dati: 26.06MB + indice: 1.02MB + motore InnoDB
wp_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
wp_woocommerce_order_items: Dati: 2.52MB + indice: 1.52MB + motore InnoDB
wp_woocommerce_order_itemmeta: Dati: 18.55MB + indice: 21.06MB + motore InnoDB
wp_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
wp_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_woocommerce_payment_tokenmeta: Dati: 0.05MB + indice: 0.03MB + motore InnoDB
wp_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_actionscheduler_actions: Dati: 2.11MB + indice: 1.89MB + motore InnoDB
wp_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_actionscheduler_logs: Dati: 2.08MB + indice: 1.78MB + motore InnoDB
wp_commentmeta: Dati: 0.10MB + indice: 0.11MB + motore MyISAM
wp_comments: Dati: 5.65MB + indice: 1.75MB + motore MyISAM
wp_FinalTiles_gallery: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_FinalTiles_gallery_images: Dati: 0.04MB + indice: 0.00MB + motore MyISAM
wp_gg_attributes: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_gg_galleries: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_gg_galleries_resources: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_gg_photos: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_gg_settings_sets: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_gg_tags: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_gv_responsive_slider: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_hplugin_root: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_icl_content_status: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_icl_core_status: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_icl_flags: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_icl_languages: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_icl_languages_translations: Dati: 0.19MB + indice: 0.11MB + motore InnoDB
wp_icl_locale_map: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_icl_message_status: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_icl_mo_files_domains: Dati: 0.05MB + indice: 0.02MB + motore InnoDB
wp_icl_node: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_icl_reminders: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_icl_strings: Dati: 4.52MB + indice: 6.53MB + motore InnoDB
wp_icl_string_batches: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_icl_string_packages: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_icl_string_pages: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_icl_string_positions: Dati: 0.06MB + indice: 0.02MB + motore InnoDB
wp_icl_string_status: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_icl_string_translations: Dati: 0.16MB + indice: 0.09MB + motore InnoDB
wp_icl_string_urls: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_icl_translate: Dati: 7.52MB + indice: 1.52MB + motore InnoDB
wp_icl_translate_job: Dati: 0.17MB + indice: 0.09MB + motore InnoDB
wp_icl_translations: Dati: 2.52MB + indice: 5.95MB + motore InnoDB
wp_icl_translation_batches: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
wp_icl_translation_downloads: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_icl_translation_status: Dati: 18.52MB + indice: 0.31MB + motore InnoDB
wp_kcform: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_links: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_modula: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_modula_images: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_options: Dati: 4.20MB + indice: 0.39MB + motore MyISAM
wp_postmeta: Dati: 117.63MB + indice: 25.23MB + motore MyISAM
wp_posts: Dati: 20.50MB + indice: 4.03MB + motore MyISAM
wp_responsive_menu: Dati: 0.02MB + indice: 0.02MB + motore MyISAM
wp_rjg_gallery: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_smush_dir_images: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_termmeta: Dati: 0.11MB + indice: 0.17MB + motore InnoDB
wp_terms: Dati: 0.04MB + indice: 0.06MB + motore MyISAM
wp_term_relationships: Dati: 0.54MB + indice: 1.13MB + motore MyISAM
wp_term_taxonomy: Dati: 0.04MB + indice: 0.05MB + motore MyISAM
wp_unitegallery_categories: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_unitegallery_galleries: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_unitegallery_items: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_usermeta: Dati: 8.07MB + indice: 4.65MB + motore MyISAM
wp_users: Dati: 0.51MB + indice: 0.58MB + motore MyISAM
wp_wc_admin_notes: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
wp_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_wc_category_lookup: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
wp_wc_customer_lookup: Dati: 1.52MB + indice: 0.45MB + motore InnoDB
wp_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_wc_order_product_lookup: Dati: 2.52MB + indice: 1.53MB + motore InnoDB
wp_wc_order_stats: Dati: 1.52MB + indice: 0.64MB + motore InnoDB
wp_wc_order_tax_lookup: Dati: 1.52MB + indice: 0.61MB + motore InnoDB
wp_wc_product_attributes_lookup: Dati: 0.09MB + indice: 0.06MB + motore InnoDB
wp_wc_product_meta_lookup: Dati: 0.32MB + indice: 0.36MB + motore MyISAM
wp_wc_rate_limits: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_wc_tax_rate_classes: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_wfblockediplog: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
wp_wfblocks7: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
wp_wfconfig: Dati: 2.44MB + indice: 0.00MB + motore InnoDB
wp_wfcrawlers: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_wffilechanges: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_wffilemods: Dati: 60.64MB + indice: 0.00MB + motore InnoDB
wp_wfhits: Dati: 1.02MB + indice: 0.19MB + motore InnoDB
wp_wfhoover: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_wfissues: Dati: 0.19MB + indice: 0.06MB + motore InnoDB
wp_wfknownfilelist: Dati: 21.55MB + indice: 0.00MB + motore InnoDB
wp_wflivetraffichuman: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_wflocs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_wflogins: Dati: 0.44MB + indice: 0.16MB + motore InnoDB
wp_wfls_2fa_secrets: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_wfls_settings: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_wfnotifications: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_wfpendingissues: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
wp_wfreversecache: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_wfsnipcache: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
wp_wfstatus: Dati: 1.02MB + indice: 0.14MB + motore InnoDB
wp_wftrafficrates: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_woocommerce_multisafepay: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
wp_woocommerce_termmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_wpmailsmtp_debug_events: Dati: 0.31MB + indice: 0.00MB + motore InnoDB
wp_wpmailsmtp_tasks_meta: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
wp_wpml_mails: Dati: 84.52MB + indice: 0.00MB + motore InnoDB
wp_wpmm_subscribers: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
wp_yoast_indexable: Dati: 25.56MB + indice: 5.55MB + motore InnoDB
wp_yoast_indexable_hierarchy: Dati: 1.52MB + indice: 0.86MB + motore InnoDB
wp_yoast_migrations: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_yoast_primary_term: Dati: 0.05MB + indice: 0.03MB + motore InnoDB
wp_yoast_seo_links: Dati: 0.25MB + indice: 0.14MB + motore InnoDB
wp_yoast_seo_meta: Dati: 0.17MB + indice: 0.00MB + motore InnoDB### Post Type Counts ###
attachment: 23140
custom_css: 1
flamingo_contact: 1222
flamingo_inbound: 1200
foogallery: 31
gs_testimonial: 2
nav_menu_item: 788
oembed_cache: 2
page: 88
post: 1
premium_shipping: 9
product: 2766
product_variation: 1604
revision: 1060
shop_coupon: 386
shop_order: 6867
shop_order_refund: 274
testimonial: 11
tss-sc: 1
wpcf7_contact_form: 7
wpmm_theme: 3
wp_global_styles: 1### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔### Active Plugins (25) ###
WPML Multilingual CMS: by OnTheGoSystems – 4.5.5
WPML SEO: by OnTheGoSystems – 2.0.1
Contact Form 7: by Takayuki Miyoshi – 5.5.6
FooBox Image Lightbox: by FooPlugins – 2.7.17
FooGallery: by FooPlugins – 2.1.34
Fr Custom Payment Gateway Icon for WooCommerce: by Fahri Rusliyadi – 1.1.1
Lightbox Gallery: by Hiroaki Miyashita – 0.9.4
Max Mega Menu: by megamenu.com – 2.9.5
Multilingual Comments: by Yame – 1.0.1
MultiSafepay: by MultiSafepay – 4.13.0
WooCommerce Side Cart: by XootiX – 2.1
Super Socializer: by Team Heateor – 7.13.29
WooCommerce Additional Variation Images: by WooCommerce – 1.9.0
WooCommerce All in One Currency Converter: by Dev49.net – 2.12.1
WooCommerce EU VAT Number: by WooCommerce – 2.3.26
WooCommerce Google Analytics Integration: by WooCommerce – 1.5.8
WooCommerce Multilingual: by OnTheGoSystems – 4.12.6
WooCommerce PayPal Payments: by WooCommerce – 1.7.0
WooCommerce: by Automattic – 6.3.1
Wordfence Security: by Wordfence – 7.5.9
Yoast SEO Premium: by Team Yoast – 14.3
WP Maintenance Mode & Coming Soon: by Themeisle – 2.4.4
WPML String Translation: by OnTheGoSystems – 3.2.1
Yoast SEO: WooCommerce: by Team Yoast – 13.2
WP Stagecoach: by WP Stagecoach – 1.4.21### Inactive Plugins (23) ###
All-in-One WP Migration: by ServMask – 7.56
Checkout Address Autocomplete for WooCommerce: by eCreations – 2.0.7
Checkout Address AutoFill For WooCommerce: by zetamatic – 1.1.8
Enable Media Replace: by ShortPixel – 3.6.3
Facebook for WooCommerce: by Facebook – 2.6.12
Flamingo: by Takayuki Miyoshi – 2.2.3
Page Builder by SiteOrigin: by SiteOrigin – 2.16.5
PayPal for WooCommerce: by Angell EYE – 1.4.18
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
Save as PDF by Pdfcrowd: by Pdfcrowd <[email protected]> – 2.7.1
SiteOrigin Widgets Bundle: by SiteOrigin – 1.31.0
Storefront Extension – Align Menu Right: by PootlePress – 1.0.0
String Locator: by Clorith – 2.5.0
Woocommerce autocomplete checkout address: by Acespritech Solutions Pvt. Ltd. – 1.1.0
WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
WooCommerce Product Archive Customiser: by jameskoster – 1.0.5
WooCommerce Stripe Gateway: by WooCommerce – 6.3.0
WP Mail Logging: by Wysija – 1.10.4
WP Mail SMTP: by WPForms – 3.3.0
WPML Translation Management: by OnTheGoSystems – 2.10.8
WP Rocket: by WP Media – 3.6.4
Yoast SEO: by Team Yoast – 18.3
Yoast Test Helper: by Team Yoast – 1.15### Dropin Plugins (1) ###
advanced-cache.php: advanced-cache.php
### Settings ###
API Enabled: ✔
Force SSL: ✔
Currency: EUR (€)
Currency Position: right
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: #45192 – /negozio/
Carrello: #6619 – /cart/
Pagamento: #6620 – /checkout/
Il mio account: #6621 – /account/
Termini e condizioni: #36031 – /terms-and-conditions/### Theme ###
Name: Maxi Theme
Version: 2
Author URL:
Child Theme: ✔
Parent Theme Name: Storefront
Parent Theme Version: 2.5.3 – 4.0.0 è disponibile
Parent Theme Author URL: https://woocommerce.com/
WooCommerce Support: ✔### Templates ###
Overrides: maxi_theme/woocommerce/cart/cart-shipping.php
maxi_theme/woocommerce/cart/cart-totals.php
maxi_theme/woocommerce/cart/cart.php versione 3.4.0 è obsoleta. La versione attuale è 3.8.0
maxi_theme/woocommerce/cart/mini-cart.php versione 3.7.0 è obsoleta. La versione attuale è 5.2.0
maxi_theme/woocommerce/cart/proceed-to-checkout-button.php
maxi_theme/woocommerce/cart/shipping-calculator.php versione 3.5.0 è obsoleta. La versione attuale è 4.0.0
maxi_theme/woocommerce/checkout/form-billing.php versione 3.0.9 è obsoleta. La versione attuale è 3.6.0
maxi_theme/woocommerce/checkout/form-pay.php versione 3.4.0 è obsoleta. La versione attuale è 5.2.0
maxi_theme/woocommerce/checkout/payment.php versione 3.4.0 è obsoleta. La versione attuale è 3.5.3
maxi_theme/woocommerce/checkout/review-order.php versione 3.8.0 è obsoleta. La versione attuale è 5.2.0
maxi_theme/woocommerce/checkout/thankyou.php versione 3.2.0 è obsoleta. La versione attuale è 3.7.0
maxi_theme/woocommerce/content-product.php
maxi_theme/woocommerce/content-single-product.php
maxi_theme/woocommerce/emails/email-order-items.php
maxi_theme/woocommerce/emails/email-styles.php versione 3.3.0 è obsoleta. La versione attuale è 4.0.0
maxi_theme/woocommerce/loop/add-to-cart.php
maxi_theme/woocommerce/myaccount/dashboard.php versione 2.6.0 è obsoleta. La versione attuale è 4.4.0
maxi_theme/woocommerce/myaccount/form-edit-address.php
maxi_theme/woocommerce/myaccount/my-address.php
maxi_theme/woocommerce/myaccount/navigation.php
maxi_theme/woocommerce/myaccount/orders.php
maxi_theme/woocommerce/single-product/add-to-cart/simple.php
maxi_theme/woocommerce/single-product/add-to-cart/variable.php versione 3.5.5 è obsoleta. La versione attuale è 6.1.0
maxi_theme/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
maxi_theme/woocommerce/single-product/add-to-cart/variation.php
maxi_theme/woocommerce/single-product/price.php
maxi_theme/woocommerce/single-product/related.php
maxi_theme/woocommerce/single-product/title.php
maxi_theme/woocommerce/single-product-reviews.php versione 3.6.0 è obsoleta. La versione attuale è 4.3.0Outdated Templates: ❌
Scopri come aggiornare
### WooCommerce PayPal Payments ###
Onboarded: ✔
Shop country code: IT
WooCommerce currency supported: ✔
PayPal card processing available in country: ✔
Pay Later messaging available in country: –
Webhook status: ✔
Vault enabled: ✔
Logging enabled: –
Reference Transactions: –
Used PayPal Checkout plugin: ✔### Action Scheduler ###
Completato: 5.434
Oldest: 2022-02-28 08:45:04 +0100
Newest: 2022-03-29 10:18:56 +0200Operazione non riuscita: 211
Oldest: –
Newest: –In attesa: 1
Oldest: 2022-03-29 14:48:48 +0200
Newest: 2022-03-29 14:48:48 +0200### Status report information ###
Generated at: 2022-03-29 10:35:37 +02:00
Thanks for sharing the documentation, I had a look at it a few days ago and played a little bit with settings and taxes, but couldn’t find the solution.