• Resolved hnscharles

    (@hnscharles)


    At the end of configuration screens, window is displayed stating “You’re all set!” but when i click on button Done, I get an error screen “Something went wrong when connecting to Facebook! Please try again”

    I read through several support advice and cleared all wp_options in my database but that didn’t help…
    (DELETE FROM wp_options WHERE option_name LIKE ‘%wc_facebook_%’)

    Running latest versions:
    – WooCommerce 6.0.0
    – WordPress 5.8.2
    – PHP: 8.1.0
    – WooCommerce for Facebook 2.6.7

    Error Log found:

    2021-12-18T08:22:51+00:00 CRITICAL Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/hilltost/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Marketing.php:270
    Stack trace:
    #0 /home/hilltost/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Marketing.php(270): count(NULL)
    #1 /home/hilltost/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Marketing.php(118): Automattic\WooCommerce\Admin\Features\Marketing->get_knowledge_base_posts('marketing')
    #2 /home/hilltost/public_html/wp-includes/rest-api/class-wp-rest-server.php(1140): Automattic\WooCommerce\Admin\API\Marketing->get_knowledge_base_posts(Object(WP_REST_Request))
    #3 /home/hilltost/public_html/wp-includes/rest-api/class-wp-rest-server.php(987): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wc-admin/marke...', Array, NULL)
    #4 /home/hilltost/public_html/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #5 /home/hilltost/public_html/wp-includes/rest-api.php(370): WP_REST_Server->serve_request('/wc-admin/marke...')
    #6 /home/hilltost/public_html/wp-includes/class-wp-hook.php(303): rest_api_loaded(Object(WP))
    #7 /home/hilltost/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #8 /home/hilltost/public_html/wp-includes/plugin.php(518): WP_Hook->do_action(Array)
    #9 /home/hilltost/public_html/wp-includes/class-wp.php(388): do_action_ref_array('parse_request', Array)
    #10 /home/hilltost/public_html/wp-includes/class-wp.php(750): WP->parse_request('')
    #11 /home/hilltost/public_html/wp-includes/functions.php(1291): WP->main('')
    #12 /home/hilltost/public_html/wp-blog-header.php(16): wp()
    #13 /home/hilltost/public_html/index.php(17): require('/home/hilltost/...')
    #14 {main}
      thrown in /home/hilltost/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Marketing.php on line 270
Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi @hnscharles,

    When going through the options.php area be very careful as it should only pertain to Facebook items – clearing something else out can trigger the errors like the one you are seeing.

    In this case, the error:

    2021-12-18T08:22:51+00:00 CRITICAL Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/hilltost/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/Marketing.php:270

    Return Values Returns the number of elements in the value stated. It is letting you know that the ($value) must be of a countable array, like 1, or 0. If you know what fields that were edited, go back into the Options.php area and look for the areas that were blanked out – place a 1 back into it. If you are unsure where those fields are, then back up your site if possible and then go to WooCommerce > Status > Tools and run a Verify base database tables tool and the Product Lookup Tables tool. These should restore the errant item and remove the error.

    After that try uninstalling and then re-installing the Facebook plugin and try to connect again. If it still does not connect, check the logs for Facebook and see if there are any errors there, and share them here ??

    Thread Starter hnscharles

    (@hnscharles)

    Thank you for the quick reply!
    I followed your instructions and now the Fatal error has disappeared.
    However, same behavior ends with “Something went wrong…”

    I had backed up the options that were removed (yes a bit of precaution…).
    After re-installing the plugin, here are the options that were not re-created, ie missing in the database now:
    – wc_facebook_page_access_token
    – wc_facebook_product_catalog_id
    – wc_facebook_external_merchant_settings_id
    – wc_facebook_feed_id
    – wc_facebook_pixel_install_time

    Any thoughts on which columns may be required? and which value to initialize them?

    I should have mentioned… No entries in the Facebook logs were generated either.

    Thanks again!

    Thread Starter hnscharles

    (@hnscharles)

    I also meant to ask whether there was a way to turn on more debugging?

    Thanks in advance!

    Hi there!

    Any thoughts on which columns may be required? and which value to initialize them?

    I don’t think that it would be a problem now as you are no longer getting the fatal error.

    Regarding the re-connecting issues, the following seems to do the trick in most cases:

    1. Surf to https://<your-site>/wp-admin/options.php
    2. Search for wc_facebook_external_business_id
    3. Update field to include only supported characters and save (best practice: store-name-dfsdc3lck9k6q ← 13-digit random string)
    4. Go back to WooCommerce > Facebook and click “Get Started” again

    Please keep in mind that the wc_facebook_external_business_id WordPress option cannot be blank or contain non-Latin characters.

    We also have a few more possibilities added here, so I would recommend you to check that if you are still reproducing such issues: https://woocommerce.com/document/facebook-for-woocommerce/troubleshooting-connection-errors/

    Thread Starter hnscharles

    (@hnscharles)

    Thanks for your reply!

    Yes I had tried already to update the business_id field but no luck. I did end up having to go to the database directly.
    I verified 2-way authentication is enabled.
    No error is displayed on the connection screen…
    And no error in the facebook log…

    Is there a way to enable more detailed logging?

    Thank you!

    Hi there!

    There wouldn’t have additional logs for keeping track of the connection issues.

    You can look for those errors from your store by going to WP Admin > WooCommerce > Status > Logs and looking to find any log files under the prefix facebook_for_woocommerce-.

    Can you confirm that you possibly have a firewall or any other security solution that could be bringing this issue? You can try to disable it fully temporarily and see if works as expected.

    If that doesn’t help, could you share your current System Status Report? You can get it by navigating to WP Admin > WooCommerce > Status. Once there, click on the “Get system report” button and then copy it by clicking on the “Copy for support” button.

    Thread Starter hnscharles

    (@hnscharles)

    Hello,

    No firewall or security issues I am aware of.
    This whole thing triggered after changing Facebook password, like i see many others have experienced.

    Here is the system status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://hilltostreet.com
    Site address (URL): https://hilltostreet.com
    WC Version: 6.0.0
    REST API Version: ? 6.0.0
    WC Blocks Version: ? 6.3.3
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.9.4
    Log Directory Writable: ?
    WP Version: 5.8.2
    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: 8.1.0
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.36-cll-lve
    Max Upload Size: 2 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.0.0
    WC Database Prefix: wp_
    Total Database Size: 102.76MB
    Database Data Size: 71.14MB
    Database Index Size: 31.62MB
    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.11MB + Index: 0.14MB + 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.18MB + Index: 0.09MB + Engine MyISAM
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_actionscheduler_logs: Data: 0.18MB + Index: 0.13MB + Engine MyISAM
    wp_adtribes_my_conversions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_commentmeta: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_comments: Data: 4.52MB + Index: 0.50MB + Engine InnoDB
    wp_gmp_icons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_maps: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gmp_markers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_marker_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_marker_groups_relation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_membership_presets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gmp_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gmp_options_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gmp_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_content_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_core_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_icl_languages_translations: Data: 0.11MB + Index: 0.11MB + Engine MyISAM
    wp_icl_locale_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_message_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_mo_files_domains: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_icl_node: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_reminders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_strings: Data: 0.11MB + Index: 0.08MB + Engine MyISAM
    wp_icl_string_batches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_string_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_string_pages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_string_positions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_icl_string_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_string_translations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_string_urls: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_translate: Data: 0.12MB + Index: 0.03MB + Engine MyISAM
    wp_icl_translate_job: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_translations: Data: 0.40MB + Index: 0.88MB + Engine MyISAM
    wp_icl_translation_batches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_status: Data: 0.81MB + Index: 0.03MB + Engine MyISAM
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_img_optm: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_litespeed_optimizer: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 5.11MB + Index: 0.31MB + Engine InnoDB
    wp_postmeta: Data: 44.58MB + Index: 23.75MB + Engine InnoDB
    wp_posts: Data: 12.48MB + Index: 3.59MB + Engine InnoDB
    wp_termmeta: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.23MB + Index: 0.02MB + Engine MyISAM
    wp_tm_tasks: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
    wp_usermeta: Data: 0.39MB + Index: 0.31MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + 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.05MB + 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.09MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.06MB + 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.13MB + Index: 0.20MB + 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_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_yoast_seo_meta: Data: 0.34MB + Index: 0.30MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    acf-field: 74
    acf-field-group: 10
    attachment: 2552
    collections: 8
    custom_css: 1
    flamingo_contact: 3843
    flamingo_inbound: 4608
    nav_menu_item: 51
    page: 20
    post: 11
    product: 588
    product_variation: 403
    revision: 547
    saswp: 2
    shop_coupon: 25
    shop_order: 308
    wpcf7_contact_form: 2
    wpephpcompat_jobs: 12
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (19) ###
    
    WPML Multilingual CMS: by OnTheGoSystems – 4.4.12
    Advanced Custom Fields Multilingual: by OnTheGoSystems – 1.9.3
    Advanced Custom Fields PRO: by Elliot Condon – 5.7.7
    Autoptimize: by Frank Goossens (futtta) – 2.9.3
    Classic Editor: by WordPress Contributors – 1.6.2
    Facebook for WooCommerce: by Facebook – 2.6.7
    XML Sitemaps: by Auctollo – 4.1.1
    Really Simple SSL: by Really Simple Plugins – 5.2.1
    Schema & Structured Data for WP & AMP: by Magazine3 – 1.9.92
    Facebook for WooCommerce - settings tools: by SkyVerge – 1.0.0
    WooCommerce Multilingual: by OnTheGoSystems – 4.12.1
    WooCommerce Price Based on Country (Basic): by Oscar Gare – 2.1.0
    WooCommerce: by Automattic – 6.0.0
    WP Migrate DB: by Delicious Brains – 2.2.1
    WPML Media: by OnTheGoSystems – 2.6.5
    WPML String Translation: by OnTheGoSystems – 3.1.10
    WPML Translation Management: by OnTheGoSystems – 2.10.8
    Yoast Test Helper: by Team Yoast – 1.15
    
    ### Inactive Plugins (20) ###
    
    2C2P Redirect API for WooCommerce: by 2C2P – 7.0.3
    Action Scheduler: by Automattic – 3.4.0
    Contact Form 7: by Takayuki Miyoshi – 5.5.3
    Contact Form 7 Extension For Mailchimp: by Renzo Johnson – 0.5.52
    Contact Form 7 Multilingual: by OnTheGoSystems – 1.1.0
    Easy Google Maps: by supsystic.com – 1.11.3
    Enable Gzip Compression: by Moki-Moki Ios – 1.0.3
    Flamingo: by Takayuki Miyoshi – 2.2.3
    Jetpack: by Automattic – 10.4
    PHP Compatibility Checker: by WP Engine – 1.5.2
    Product Feed PRO for WooCommerce: by AdTribes.io – 11.0.3
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Repair Action Scheduler: by Rank Math – 1.1
    SVG Support: by Benbodhi – 2.3.19
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.65
    
    WP Crontrol: by John Blackbourn & crontributors – 1.12.0
    WP Maintenance Mode: by Designmodo – 2.4.1
    YITH WooCommerce Wishlist: by YITH – 3.3.0
    Yoast SEO: by Team Yoast – 17.8
    Yoast SEO Multilingual: by OnTheGoSystems – 1.2.4
    
    ### Dropin Plugins (1) ###
    
    maintenance.php: maintenance.php
    
    ### Must Use Plugins (1) ###
    
    WP Migrate DB Compatibility: by Delicious Brains – 1.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: MYR (RM)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    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: ? Page not set
    Cart: #6893 - /cart-2/
    Checkout: #6894 - /checkout-2/
    My account: #6895 - /my-account-2/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Hill to Street
    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: ?
    
    ### Templates ###
    
    Overrides: hilltostreet/woocommerce/archive-product.php
    hilltostreet/woocommerce/cart/cart-totals.php
    hilltostreet/woocommerce/cart/cart.php
    hilltostreet/woocommerce/cart/proceed-to-checkout-button.php
    hilltostreet/woocommerce/content-product.php
    hilltostreet/woocommerce/content-single-product.php
    hilltostreet/woocommerce/global/quantity-input.php
    hilltostreet/woocommerce/loop/loop-end.php
    hilltostreet/woocommerce/loop/loop-start.php
    hilltostreet/woocommerce/myaccount/dashboard.php
    hilltostreet/woocommerce/myaccount/form-edit-account.php
    hilltostreet/woocommerce/myaccount/form-login.php
    hilltostreet/woocommerce/myaccount/my-account.php
    hilltostreet/woocommerce/myaccount/my-address.php
    hilltostreet/woocommerce/myaccount/orders.php
    hilltostreet/woocommerce/myaccount/payment-methods.php
    hilltostreet/woocommerce/single-product/add-to-cart/external.php
    hilltostreet/woocommerce/single-product/add-to-cart/grouped.php
    hilltostreet/woocommerce/single-product/add-to-cart/simple.php
    hilltostreet/woocommerce/single-product/add-to-cart/variable.php
    hilltostreet/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    hilltostreet/woocommerce/single-product/add-to-cart/variation.php
    hilltostreet/woocommerce/single-product/short-description.php
    hilltostreet/woocommerce/single-product.php
    
    ### Geolocation debug info ###
    
    Default customer location: geolocation
    MaxMind GeoIP database: ? The MaxMind GeoIP Database does not exist - Geolocation will not function.
    MaxMind GeoIP license: ? Geolocation has not been configured. You must enter a valid license key on the MaxMind integration settings page.
    MM_COUNTRY_CODE: ?
    GEOIP_COUNTRY_CODE: ?
    HTTP_CF_IPCOUNTRY: ?
    HTTP_X_COUNTRY_CODE: ?
    HTTP_X_REAL_IP: ?
    HTTP_X_FORWARDED_FOR: ?
    REMOTE_ADDR: 96.9.172.22
    Real external IP: 96.9.172.22
    WCPBC_USE_REMOTE_ADDR: –
    Geolocation Test: ?The MaxMind GeoIP database is required.
    
    ### PBC Settings ###
    
    Version: 2.1.0
    Base location: MY:KUL
    Base currency: MYR
    Price Based On: billing
    Shipping: ?
    Test mode: –
    Test country: –
    Load products price in background: –
    Prices entered with tax: –
    Calculate tax based on: shipping
    Display prices in the shop: excl
    
    ### Zone Pricing Malaysian ###
    
    zone_id: malaysian
    name: Malaysian
    countries: MY
    currency: MYR
    exchange_rate: 1
    auto_exchange_rate: no
    disable_tax_adjustment: no
    
    ### Zone Pricing Other ###
    
    zone_id: other
    name: Other
    countries: AX | AF | AL | DZ | AS | AD | AO | AI | AQ | AG | AR | AM | AW | AT | AZ | BS | BH | BD | BB | BY | PW | BE | BZ | BJ | BM | BT | BO | BQ | BA | BW | BV | BR | IO | BN | BG | BF | BI | KH | CM | CA | CV | KY | CF | TD | CL | CN | CX | CC | CO | KM | CG | CD | CK | CR | HR | CU | CW | CY | CZ | DK | DJ | DM | DO | EC | EG | SV | GQ | ER | EE | ET | FK | FO | FJ | FI | FR | GF | PF | TF | GA | GM | GE | DE | GH | GI | GR | GL | GD | GP | GU | GT | GG | GN | GW | GY | HT | HM | HN | HK | HU | IS | IN | ID | IR | IQ | IE | IM | IL | IT | CI | JM | JP | JE | JO | KZ | KE | KI | KW | KG | LA | LV | LB | LS | LR | LY | LI | LT | LU | MO | MG | MW | MV | ML | MT | MH | MQ | MR | MU | YT | MX | FM | MD | MC | MN | ME | MS | MA | MZ | MM | NA | NR | NP | NL | NC | NZ | NI | NE | NG | NU | NF | KP | MK | MP | NO | OM | PK | PS | PA | PG | PY | PE | PH | PN | PL | PT | PR | QA | RE | RO | RU | RW | ST | BL | SH | KN | LC | SX | MF | PM | VC | WS | SM | SA | SN | RS | SC | SL | SG | SK | SI | SB | SO | ZA | GS | KR | SS | ES | LK | SD | SR | SJ | SZ | SE | CH | SY | TW | TJ | TZ | TH | TL | TG | TK | TO | TT | TN | TR | TM | TC | TV | UG | UA | AE | GB | US | UM | UY | UZ | VU | VA | VE | VN | VG | VI | WF | EH | YE | ZM | ZW
    currency: USD
    exchange_rate: 0.312
    auto_exchange_rate: no
    disable_tax_adjustment: no
    
    ### Zone Pricing Australia ###
    
    zone_id: australia
    name: Australia
    countries: AU
    currency: AUD
    exchange_rate: 0.416
    auto_exchange_rate: no
    disable_tax_adjustment: no
    
    ### Action Scheduler ###
    
    Complete: 736
    Oldest: 2021-12-21 04:04:39 +0000
    Newest: 2021-12-21 09:09:23 +0000
    
    Failed: 2
    Oldest: 2021-12-18 07:41:55 +0000
    Newest: 2021-12-18 07:41:56 +0000
    
    ### Status report information ###
    
    Generated at: 2021-12-21 09:25:16 +00:00
    

    Hi @hnscharles

    Thanks for providing that information and letting us know what triggered the initial event.

    Looking over your status report I notice that you do have the current Facebook for WooCommerce plugin, however, I also noticed you have another active plugin:

    Facebook for WooCommerce – settings tools: by SkyVerge – 1.0.0

    This looks to be a little older plugin and could potentially be butting heads with the other. Can you try disabling this plugin temporarily and then run through the process again to let us know if you can connect?

    Thanks!

    Thread Starter hnscharles

    (@hnscharles)

    Hello,

    Same result after disabling this plugin.
    I notice this error is now in the facebook log, which assume is from a scheduled action failing due to the incomplete setup:

    12-21-2021 @ 04:04:32 – There was an error trying sync products using the Catalog Batch API for job 4be632c4bb163a19ac35eb894f9c964c: Cannot create the API instance because the access token is missing.
    12-21-2021 @ 12:08:54 – Unable to detect valid feed configuration: No catalog ID

    Thanks,
    Herve

    Hi there,

    I checked your SSR, and saw your currency:

    Currency: MYR (RM)

    It can be that the currency is not supported. If your WooCommerce default currency is not on this list, some folks have had success temporarily changing their currency to a supported one (USD, CAD, GBP, EUR) to connect and then changing it back afterward.

    However, this isn’t an officially recommended workaround so we can’t guarantee that it will work.

    I hope that helps!

    Let me know how it goes!

    Thread Starter hnscharles

    (@hnscharles)

    Hello,

    I tried this and same result, no additional error logs either…
    To help with further troubleshooting, the connection was working until i had to reset my Facebook password and since then, even with the new correct password, unable to reconnect.

    Thanks again!

    Hi @hnscharles,

    Thank you for your patience and for working through the steps shared so far.

    Could you please open a ticket via our support form so we can take a deeper look: https://woocommerce.com/my-account/create-a-ticket/?form=ticket

    Please do not forget to add a link to this forum thread so we have context of the issue and what you have tried so far.

    Thanks!

    Thread Starter hnscharles

    (@hnscharles)

    Submitted, thank you!

    @hnscharles

    We’ve received your ticket!

    We’ll reply on the next step in the ticket.

    So I’m going to mark this as resolved for now.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Something went wrong when connecting to Facebook’ is closed to new replies.