Woocommerce-admin: [GlobalStep - WooCommerce 4.5] "Wpengine" website fails to install respective plugins for "Market on Facebook" upon tapping "Install Now" button.

Created on 10 Sep 2020  ยท  7Comments  ยท  Source: woocommerce/woocommerce-admin

Bug Description:

Wpengine website fails to install respective plugins for "Market on Facebook" upon tapping "Install Now" button from inbox notification present on WooCommerce->Home.

Environment:

Windows 10, Mac v10.15.6
Browser: Chrome(Version 85.0.4183.83 (64-bit))
Firefox(Version 80.0.1)(64-bit)
Safari(Version 13.1.1)

Steps to Reproduce:

  1. Go to existing site http://wpe.testwc.com/wp-admin.
  2. Login with valid credentials.
  3. Go to WooCommerce->Home.
  4. Note that "Market on Facebook" notification is displayed.
  5. Click on Install now button.
  6. Observe that respective plugins fails to install and goes into continuous loading.

Note:
The Extension for "Facebook for WooCommerce" is already installed.

Actual Result:

"Wpengine" website fails to install respective plugins for "Market on Facebook" upon tapping "Install Now" button.

Expected Result:

"Wpengine" website should install respective plugins for "Market on Facebook" upon tapping "Install Now" button.

Artifacts:

#5125.zip

Isolating the problem (mark completed items with an [x]):

  • [ ] 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.
  • [x] I can reproduce this bug consistently using the steps above.

`
### WordPress Environment ###

WordPress address (URL): http://wpe.testwc.com
Site address (URL): http://wpe.testwc.com
WC Version: 4.5.0
REST API Version: โœ” 4.5.0
WC Blocks Version: โœ” 3.1.0
Action Scheduler Version: โœ” 3.1.6
WC Admin Version: โœ” 1.5.0
Log Directory Writable: โœ”
WP Version: โŒ 5.5 - There is a newer version of WordPress available (5.5.1)
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.3.18-1+ubuntu18.04.1+deb.sury.org+1
PHP Post Max Size: 100 MB
PHP Time Limit: 3600
PHP Max Input Vars: 10000
cURL Version: 7.58.0
OpenSSL/1.1.1g

SUHOSIN Installed: โ€“
MySQL Version: 5.7.29-32-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: 4.5.0
WC Database Prefix: wp_
Total Database Size: 5.02MB
Database Data Size: 3.42MB
Database Index Size: 1.60MB
wp_woocommerce_sessions: Data: 0.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.05MB + 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.06MB + Index: 0.11MB + 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.02MB + Index: 0.03MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + 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_options: Data: 2.06MB + Index: 0.09MB + Engine InnoDB
wp_postmeta: Data: 0.23MB + Index: 0.19MB + Engine InnoDB
wp_posts: Data: 0.09MB + Index: 0.06MB + 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.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.02MB + 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.02MB + Index: 0.09MB + 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_wpml_mails: Data: 0.13MB + Index: 0.00MB + Engine InnoDB

### Post Type Counts ###

attachment: 31
custom_css: 2
nav_menu_item: 8
page: 28
post: 5
product: 15
product_variation: 4
shop_coupon: 3
shop_order: 13
shop_order_refund: 1
shop_subscription: 3
wp_block: 1
wpcf7_contact_form: 2

### Security ###

Secure connection (HTTPS): โŒ
                    Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: โœ”

### Active Plugins (16) ###

Query Monitor: by John Blackbourn โ€“ 3.6.4
Contact Form 7: by Takayuki Miyoshi โ€“ 5.2.2
Debug Bar: by wordpressdotorg โ€“ 1.0.1
Facebook for WooCommerce: by Facebook โ€“ 2.0.1 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
Jetpack by WordPress.com: by Automattic โ€“ 8.9
Google Ads for WooCommerce: by Kliken โ€“ 1.0.4 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
Mailchimp for WooCommerce: by Mailchimp โ€“ 2.4.5 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
Password Protected: by Ben Huson โ€“ 2.3
WooCommerce Beta Tester: by WooCommerce โ€“ 2.0.1 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
WooCommerce Stripe Gateway: by WooCommerce โ€“ 4.5.2 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
WooCommerce Product Add-ons: by WooCommerce โ€“ 3.0.33 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
WooCommerce Services: by Automattic โ€“ 1.24.2 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
WooCommerce Subscriptions: by Automattic โ€“ 2.5.7 โ€“ Installed version not tested with active version of WooCommerce 4.5.0
WooCommerce: by Automattic โ€“ 4.5.0
WordPress Beta Tester: by Peter Westwood
Andy Fragen โ€“ 2.2.13

WP Mail Logging: by MailPoet โ€“ 1.9.7

### Inactive Plugins (1) ###

Akismet Anti-Spam: by Automattic โ€“ 4.1.6

### Dropin Plugins (1) ###

advanced-cache.php: advanced-cache.php

### Must Use Plugins (4) ###

Force Strong Passwords - WPE Edition: by Jason Cosper โ€“ 1.6.4
WP Engine Seamless Login Plugin: by WP Engine โ€“ 1.5.5
WP Engine Security Auditor: by wpengine โ€“ 1.0.9
WP Engine System: by WP Engine โ€“ 4.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)
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: #8 - /?page_id=8
Cart: #9 - /?page_id=9
Checkout: #10 - /?page_id=10
My account: #11 - /?page_id=11
Terms and conditions: โŒ Page not set

### Theme ###

Name: Storefront
Version: 2.5.7 (update to version 2.7.0 is available)
Author URL: https://woocommerce.com/
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: โ€“

### Subscriptions ###

WCS_DEBUG: โœ” No
Subscriptions Mode: โœ” Live
Subscriptions Live URL: http://wpe.testwc.com
Subscription Statuses: wc-on-hold: 3
WooCommerce Account Connected: โŒ No
Report Cache Enabled: โœ” Yes
Cache Update Failures: โœ” 0 failure

### Store Setup ###

Country / State: United Kingdom (UK)

### Subscriptions by Payment Gateway ###

Stripe: wc-on-hold: 3

### Payment Gateway Support ###

Direct bank transfer: products
Cash on delivery: products
PayPal Standard: products
refunds

PayPal Reference Transactions Enabled: โŒ No
Stripe: products
refunds
tokenization
add_payment_method
subscriptions
subscription_cancellation
subscription_suspension
subscription_reactivation
subscription_amount_changes
subscription_date_changes
subscription_payment_method_change
subscription_payment_method_change_customer
subscription_payment_method_change_admin
multiple_subscriptions
pre-orders


### Action Scheduler ###

Complete: 64
Oldest: 2020-08-11 00:41:00 +0000
Newest: 2020-09-10 15:28:19 +0000

Pending: 1
Oldest: 2020-09-10 16:28:19 +0000
Newest: 2020-09-10 16:28:19 +0000

`

All 7 comments

@jconroy I think inbox message is being handled by Ventures, right?

๐Ÿ‘‹ @pmcpinto we've helped with a few, I'm not sure exactly on who should be handling what tbh.

The only reference to "Market on Facebook" I can find is in the onboarding wizard. and we haven't done anything with onboarding.

@pmcpinto we've helped with a few, I'm not sure exactly on who should be handling what tbh.

@jconroy I took a look at the screenshot provided by GlobalStep and the message is from 7months ago. I think it's the one that was replaced by the marketing tab message

~๐Ÿ‘‹ @pmcpinto yep we changed the inbox notifications (replaced 2 notifications for 1) but this looks to be baked into business extensions in onboarding https://github.com/woocommerce/woocommerce-admin/blob/main/client/profile-wizard/steps/business-details.js#L410 (to be honest, I didn't even know this was a thing.) - My assumption is we'd leave the messaging as-is for this and just look at the installation failing.~

Update - Ok I see what you mean now penny finally dropped (sorry home screen completely threw me off). That's strange because we put in place a function to delete the old note if it exists.

@nima-karimi I've added this to our porter rotation to take a look at - some more learning ๐Ÿ˜‰

After doing some testing, it seems to me that the update process has failed for the user causing that note to remain unfunctioning after the update.

The note can be manually deleted from the wp_wc_admin_notes table by searching for its name wc-admin-facebook-extension.

Note that installing facebook extension will no longer delete the note because the related functionality has been removed after the update.

Thanks for investigating @nima-karimi

Was this page helpful?
0 / 5 - 0 ratings