anthonypg
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] Fatal error on activationI had the same error on one of my websites. It was caused by a plugin conflict with WooPayments in my case.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] ACF Gutenberg Blocks the_excerpt BrokenYes, I’ve been rebuilding the index every time I modify the options. This is what shows up in my debug screen, some of these words aren’t even on this page. One of my blocks includes a post loop, but it’s only used on one page and I’m using wp_reset_postdata() and wp_reset_query() before and after the loop in that block template.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] ACF Gutenberg Blocks the_excerpt BrokenThe blocks use various ACF fields for their display. When I set Custom Fields to none and Use Custom Fields for Excerpts to false I get the same results.
@3sonsdevelopment I’m not sure if you’ve had a chance to look at this yet but it seems like this issue happens with orders that include a variable product, and simple product, and a coupon in the cart. It’s the only pattern I see with these orders. Also, if I edit the order and recreate the products from scratch in the order admin interface and hit the recalculate button, the tax gets calculated correctly.
I’ve opened up a support ticket on WooCommerce.com under WooCommerce Shipping and I’ve included the issue and a link to this thread.
I’ve run some tests on the WC_Connect_TaxJar_Integration class on the staging website and I’m passing the line items and the results of the calculate_tax() method. This is what happens on a successful tax calculation:
Successful Line Items being passed:
Line Items:Array
(
[0] => Array
(
[id] => 448-1fc7997511284523dc8c604dbb44994c
[quantity] => 1
[product_tax_code] =>
[unit_price] => 165.00
[discount] => 0
)[1] => Array
(
[id] => 43132-bf2daaa9952ecdce537c06a952e53bbb
[quantity] => 1
[product_tax_code] =>
[unit_price] => 150.00
[discount] => 0
))
Successful Result of calculate_tax():
Response: Array
(
[freight_taxable] => 1
[has_nexus] => 1
[line_items] => Array
(
[43132-bf2daaa9952ecdce537c06a952e53bbb] => stdClass Object
(
[city_amount] => 0
[city_tax_rate] => 0
[city_taxable_amount] => 0
[combined_tax_rate] => 0.07
[county_amount] => 3.38
[county_tax_rate] => 0.0225
[county_taxable_amount] => 150
[id] => 43132-bf2daaa9952ecdce537c06a952e53bbb
[special_district_amount] => 0
[special_district_taxable_amount] => 0
[special_tax_rate] => 0
[state_amount] => 7.13
[state_sales_tax_rate] => 0.0475
[state_taxable_amount] => 150
[tax_collectable] => 10.5
[taxable_amount] => 150
)[448-1fc7997511284523dc8c604dbb44994c] => stdClass Object
(
[city_amount] => 0
[city_tax_rate] => 0
[city_taxable_amount] => 0
[combined_tax_rate] => 0.07
[county_amount] => 3.71
[county_tax_rate] => 0.0225
[county_taxable_amount] => 165
[id] => 448-1fc7997511284523dc8c604dbb44994c
[special_district_amount] => 0
[special_district_taxable_amount] => 0
[special_tax_rate] => 0
[state_amount] => 7.84
[state_sales_tax_rate] => 0.0475
[state_taxable_amount] => 165
[tax_collectable] => 11.55
[taxable_amount] => 165
))
[rate_ids] => Array
(
[43132-bf2daaa9952ecdce537c06a952e53bbb] => 139
[448-1fc7997511284523dc8c604dbb44994c] => 139
[shipping] => 139
)[tax_rate] => 0.07
)And here is what happens when it fails –
Failed Line Items being passed:
Line Items:Array
(
[0] => Array
(
[id] => 422-42984
[quantity] => 1
[product_tax_code] => 99999
[unit_price] => 85
[discount] => 0
)[1] => Array
(
[id] => 447-42985
[quantity] => 1
[product_tax_code] =>
[unit_price] => 165
[discount] => 25
))
Failed Result of calculate_tax():
Response: Array
(
[freight_taxable] => 1
[has_nexus] => 0
[line_items] => Array
(
)[rate_ids] => Array
(
)[tax_rate] => 0
)At a glance it looks like the number formatting of the line_items unit_price is different, but I don’t see any other reason why this would fail.
I’ve created a staging site and I’m able to trigger the same 406 error by using the recalculate button on an order that failed to retrieve tax. I deactivated all plugins except for Jetpack, WooCommerce, WooCommerce Shipping & Tax, and Advanced Custom Fields which I need for some meta data on my order details page. This doesn’t appear to be a plugin conflict issue.
Also, the error triggers randomly. Some orders apply taxes with the same products in the cart as the orders that trigger this 406 error. I haven’t been able to identify any kind of pattern to the error.
Thanks for your quick reply. Here’s a copy of the Site System Status:
### WordPress Environment ### WordPress address (URL): https://harmonps.com Site address (URL): https://harmonps.com 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: 256 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: 256 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: 359.75MB Database Data Size: 228.83MB Database Index Size: 130.92MB wp_woocommerce_sessions: Data: 0.22MB + 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: 2.52MB + Index: 1.48MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 17.55MB + Index: 10.98MB + 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: 39.58MB + Index: 2.52MB + Engine InnoDB smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 2.02MB + Index: 1.34MB + 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: 2.02MB + Index: 0.64MB + Engine InnoDB wp_activecampaign_for_woocommerce_abandoned_cart: Data: 2.08MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 5.52MB + Index: 8.06MB + Engine InnoDB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_gf_entry_meta: Data: 0.11MB + Index: 0.09MB + Engine InnoDB wp_gf_entry_notes: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_import_postID: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_itsec_logs: Data: 17.02MB + Index: 2.45MB + Engine InnoDB wp_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_customer_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_log: Data: 1.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_paymentmethod_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_payment_id_map: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_product_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_qbo_customers: Data: 0.28MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_qbo_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_real_time_sync_history: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_real_time_sync_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_shipping_product_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_tax_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_variation_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mw_wc_qbo_sync_wq_cf_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 4.05MB + Index: 1.13MB + Engine InnoDB wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_posts: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 79.50MB + Index: 66.38MB + Engine InnoDB wp_posts: Data: 16.27MB + Index: 8.86MB + Engine InnoDB wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_relevanssi: Data: 0.36MB + Index: 0.45MB + Engine InnoDB wp_relevanssi_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_relevanssi_stopwords: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_usermeta: Data: 12.34MB + Index: 9.95MB + Engine InnoDB wp_users: Data: 0.38MB + Index: 0.41MB + 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.27MB + Index: 0.22MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.19MB + Index: 0.22MB + Engine InnoDB wp_wc_order_product_lookup: Data: 2.52MB + Index: 1.23MB + Engine InnoDB wp_wc_order_stats: Data: 1.52MB + Index: 0.64MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.22MB + Index: 0.23MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + 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_woocommerce_exported_csv_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpc_client_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_chains: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_clients_page: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_files_download_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_file_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_group_clients: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_login_redirects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_objects_assigns: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpc_client_payments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpc_client_portal_page_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 13.50MB + Index: 12.06MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.16MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 422 acf-field-group: 13 addresses: 26669 attachment: 2097 faqs: 25 mc4wp-form: 1 nav_menu_item: 20 oembed_cache: 4 page: 38 portalhub: 1 post: 5 product: 40 product_variation: 108 revision: 3 sa_client: 2 sa_invoice: 3 sa_notification: 21 sa_payment: 2 sa_record: 13 shop_coupon: 27 shop_order: 13147 shop_order_refund: 29 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (29) ### ManageWP - Worker: by GoDaddy – 4.9.13 Gravity Forms: by Gravity Forms – 2.5.16 ACF Content Analysis for Yoast SEO: by Thomas Kräftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 3.0.1 Advanced Custom Fields: Flexible Content Field: by Elliot Condon – 2.1.0 Advanced Custom Fields: Repeater Field: by Elliot Condon – 2.1.0 ActiveCampaign for WooCommerce: by ActiveCampaign – 1.6.7 ActiveCampaign: by ActiveCampaign – 8.1.9 Admin Menu Editor Pro: by Janis Elsts – 2.16.1 Advanced Custom Fields PRO: by Delicious Brains – 5.11.4 Classic Editor: by WordPress Contributors – 1.6.2 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.4 Jetpack: by Automattic – 10.6 Login No Captcha reCAPTCHA (Google): by Robert Peake and Contributors – 1.6.11 WooCommerce Sync for QuickBooks Online - Custom Field Mapping: by MyWorks Software – 1.3.0 WooCommerce Sync for QuickBooks Online - by MyWorks Software: by MyWorks Software – 2.4.0 Relevanssi: by Mikko Saari – 4.14.7 Simple Page Ordering: by Jake Goldman 10up – 2.3.4 User Switching: by John Blackbourn & contributors – 1.5.8 Advanced Order Export For WooCommerce: by AlgolPlus – 3.2.2 WooCommerce ACH Stripe Gateway: by FEST Agency – 1.4.9 WooCommerce Stripe Gateway: by WooCommerce – 6.2.0 WooCommerce Sequential Order Numbers Pro: by SkyVerge – 1.14.0 WooCommerce Shipping & Tax: by WooCommerce – 1.25.23 Woocommerce Ultimate Reports: by WooPro – 3.0 WooCommerce: by Automattic – 6.2.0 Yoast SEO Premium: by Team Yoast – 15.2.1 WP All Import: by Soflyy – 3.6.6 WP Crontrol: by John Blackbourn & crontributors – 1.12.0 WP LESS: by Oncle Tom – 1.9.3-3 ### Inactive Plugins (5) ### Easy Theme and Plugin Upgrades: by Chris Jean – 2.0.2 iThemes Security Pro: by iThemes – 6.8.4 JSM's Show Post Metadata: by JS Morisset – 3.0.2 Tax Report for WooCommerce: by Infosoft Consultants – 2.0 WooCommerce Customer/Order CSV Export: by SkyVerge – 4.8.1 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached Redux ### Must Use Plugins (7) ### Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0 ManageWP - Worker Loader: by GoDaddy – 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) 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: #65190 - /shop/ Cart: #571 - /cart/ Checkout: #573 - /checkout/ My account: #572 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Harmon Version: 0.0.1 Author URL: 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: ❌ Not declared ### Templates ### Overrides: harmon/woocommerce/checkout/form-checkout.php harmon/woocommerce/checkout/payment.php harmon/woocommerce/checkout/review-order.php harmon/woocommerce/checkout/thankyou.php harmon/woocommerce/emails/admin-new-order.php harmon/woocommerce/emails/customer-completed-order.php harmon/woocommerce/emails/customer-invoice.php harmon/woocommerce/emails/customer-new-account.php version 3.7.0 is out of date. The core version is 6.0.0 harmon/woocommerce/emails/customer-on-hold-order.php harmon/woocommerce/emails/email-addresses.php harmon/woocommerce/emails/email-header.php harmon/woocommerce/emails/email-order-details.php harmon/woocommerce/emails/plain/email-order-details.php harmon/woocommerce/myaccount/dashboard.php harmon/woocommerce/myaccount/form-edit-account.php harmon/woocommerce/myaccount/form-login.php harmon/woocommerce/myaccount/orders.php Outdated Templates: ❌ Learn how to update ### Action Scheduler ### Complete: 4,599 Oldest: 2022-01-22 07:13:59 -0500 Newest: 2022-02-21 20:53:56 -0500 ### Status report information ### Generated at: 2022-02-21 20:55:28 -05:00Forum: Plugins
In reply to: [WooCommerce] Problem loading website with inapp browser in InstagramI was also having the same problem with WooCommerce and Instagram. The solution I found to this problem was first making sure that you aren’t caching the the core WooCommerce pages (https://www.keycdn.com/support/setting-up-woocommerce-cache). My website is being hosted on WPEngine and I was able to get the issue resolved after disabling redirect bots.
- This reply was modified 6 years, 7 months ago by anthonypg.