• Resolved britmac

    (@britmac)


    Hi, I am experiencing an issue with the plugin WooCommerce Square. When it is activated on my site (https://plantvan.ca), my checkout page does not format properly and I can not open Square settings for WooCommerce. Instead there is an error message: “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    When I deactivate the Square plugin, my checkout page works normally but without Square connected, I can not take credit card information. The proper Square account is still connected. 

    It looks like WooCommerce was updated automatically on my site today. This looks to be when the issue happened. I rolled back to a previous WooCommerce version earlier but it did not solve the issue. When I first encountered this issue, I updated some of my other plugins and then there was another conflict with Flexible Checkout Fields. I have de-activated it for now. 

    WordPress version 6.4.2
    Active theme: Divi (version 4.23.4)
    Current plugin: Flexible Checkout Fields (version 3.5.19)
    PHP version 7.4.33

    Thank you so much for your help. It is so appreciated!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there @britmac ??

    Thanks for reaching out about this. Let’s troubleshoot it together!

    I am experiencing an issue with the plugin WooCommerce Square. When it is activated on my site (https://plantvan.ca), my checkout page does not format properly and I can not open Square settings for WooCommerce. Instead there is an error message: “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    It is odd, that a critical error would appear when the WooCommerce Square plugin is active. Per its changelog, it has not been updated in the last few days.

    Was it installed recently, or it has been activated for some time now?

    Furthermore, to clarify, did you already have a chance to test with temporarily deactivating all plugins (except WooCommerce and WooCommerce Square), and the Storefront theme (linked here) active, and see if the issue persists, or otherwise?

    It is expected the issue on the Checkout page, and the Square settings in WooCommerce, to not persist with the above set-up.

    It looks like WooCommerce was updated automatically on my site today. This looks to be when the issue happened. I rolled back to a previous WooCommerce version earlier but it did not solve the issue. When I first encountered this issue, I updated some of my other plugins and then there was another conflict with Flexible Checkout Fields. I have de-activated it for now. 

    The next step would be to make sure all theme and plugin files are updated to their latest versions respectfully. It is recommended to re-activate each plugin one-by-one, after having them deactivated, in order to identify where the culprit might be. Feel free to check out this document, for further details.

    I hope this helps! Let us know how it goes.

    Thread Starter britmac

    (@britmac)

    Hi,

    Thank you so much for your help! I had deactivated all and reactivated each plug-in one by one, and that is how I identified Square as the issue. The checkout page worked and error message disappeared when the Square app was deactivated. I also deactivated Flexible Checkout Fields plug-in, as it was also causing an issue.

    WooCommerce had updated automatically to a new version yesterday, which is what I thought caused the issue. I rolled back to earlier version but didn’t change anything.

    The theme I have is Divi. It is updated and I uninstalled and reinstalled just in case.

    Thank you so much for your help!

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hello again @britmac,

    Thank you for sharing more details about the issue you are facing with Square.

    For further assistance, could you please provide the following?

    • A copy of your system status report. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.
    • It’s also worth checking if there are any fatal error logs from WooCommerce > Status > Logs and choosing from the drop-down menu the fatal-errors.log option.

    Look forward to hearing back from you.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @britmac,

    Can you tell us what you used to create your checkout page: block or shortcode? If you’re using a block, would you mind replacing it with a shortcode to see if that resolves the issue?

    [woocommerce_checkout]

    If the issue persists, please share a copy of any fatal error log found under WooCommerce → Status → Logs requested by my colleague earlier.

    Let us know how that goes. Looking forward to hearing from you!

    Thread Starter britmac

    (@britmac)

    Hi @ckadenge, thank you so much! Here is the system report info from WooCommerce:

    ` WordPress Environment
    
    WordPress address (URL): https://www.plantvan.ca
    Site address (URL): https://www.plantvan.ca
    WC Version: 8.5.1
    REST API Version: ? 8.5.1
    WC Blocks Version: ? 11.8.0-dev
    Action Scheduler Version: ? 3.7.1
    Log Directory Writable: ?
    WP Version: 6.4.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ? Server Environment
    
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 8.2.1
    OpenSSL/3.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.44-48-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: 8.5.1
    WC Database Prefix: wpey_
    Total Database Size: 236.05MB
    Database Data Size: 159.23MB
    Database Index Size: 76.82MB
    wpey_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wpey_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpey_woocommerce_order_items: Data: 1.52MB + Index: 0.36MB + Engine InnoDB
    wpey_woocommerce_order_itemmeta: Data: 13.52MB + Index: 8.03MB + Engine InnoDB
    wpey_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpey_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_woocommerce_payment_tokens: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wpey_woocommerce_payment_tokenmeta: Data: 0.11MB + Index: 0.14MB + Engine InnoDB
    wpey_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_acfw_virtual_coupons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_actionscheduler_actions: Data: 2.03MB + Index: 1.42MB + Engine InnoDB
    wpey_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_actionscheduler_logs: Data: 2.02MB + Index: 1.33MB + Engine InnoDB
    wpey_aioseo_cache: Data: 0.34MB + Index: 0.03MB + Engine InnoDB
    wpey_aioseo_notifications: Data: 0.25MB + Index: 0.06MB + Engine InnoDB
    wpey_aioseo_posts: Data: 3.52MB + Index: 0.11MB + Engine InnoDB
    wpey_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_bulkgate_module: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wpey_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_comments: Data: 3.52MB + Index: 1.66MB + Engine InnoDB
    wpey_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_hustle_entries: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    wpey_hustle_entries_meta: Data: 2.52MB + Index: 2.28MB + Engine InnoDB
    wpey_hustle_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_hustle_modules_meta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wpey_hustle_tracking: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpey_jckwds: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    wpey_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_lws_webhooks_events: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_lws_wr_historic: Data: 0.25MB + Index: 0.09MB + Engine InnoDB
    wpey_lws_wr_tinyurls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_lws_wr_userbadge: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_mailchimp_carts: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wpey_mailchimp_jobs: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpey_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_options: Data: 5.36MB + Index: 0.41MB + Engine InnoDB
    wpey_pimwick_gift_card: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wpey_pimwick_gift_card_activity: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wpey_postmeta: Data: 51.58MB + Index: 17.06MB + Engine InnoDB
    wpey_posts: Data: 12.52MB + Index: 1.02MB + Engine InnoDB
    wpey_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpey_sm_advanced_search_temp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_sm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_sm_task_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_termmeta: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    wpey_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_term_relationships: Data: 0.36MB + Index: 0.20MB + Engine InnoDB
    wpey_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_usermeta: Data: 2.52MB + Index: 2.02MB + Engine InnoDB
    wpey_users: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    wpey_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wpey_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wpey_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_wc_customer_lookup: Data: 0.19MB + Index: 0.13MB + Engine InnoDB
    wpey_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpey_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpey_wc_order_coupon_lookup: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
    wpey_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_wc_order_product_lookup: Data: 1.52MB + Index: 0.63MB + Engine InnoDB
    wpey_wc_order_stats: Data: 0.45MB + Index: 0.31MB + Engine InnoDB
    wpey_wc_order_tax_lookup: Data: 0.39MB + Index: 0.31MB + Engine InnoDB
    wpey_wc_product_attributes_lookup: Data: 0.23MB + Index: 0.19MB + Engine InnoDB
    wpey_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wc_product_meta_lookup: Data: 0.17MB + Index: 0.30MB + Engine InnoDB
    wpey_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wfpklist_template_data: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wpey_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_woocommerce_square_customers: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    wpey_woof_query_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_woof_sd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_wpf_meta_data: Data: 1.52MB + Index: 1.06MB + Engine InnoDB
    wpey_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wpf_meta_values: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    wpey_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpey_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_wps_hit: Data: 5.52MB + Index: 13.64MB + Engine InnoDB
    wpey_wps_index: Data: 12.48MB + Index: 14.67MB + Engine InnoDB
    wpey_wps_key: Data: 0.34MB + Index: 0.20MB + Engine InnoDB
    wpey_wps_object_term: Data: 2.30MB + Index: 2.08MB + Engine InnoDB
    wpey_wps_object_type: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpey_wps_query: Data: 0.25MB + Index: 0.16MB + Engine InnoDB
    wpey_wps_uri: Data: 24.55MB + Index: 3.50MB + Engine InnoDB
    wpey_wps_user_agent: Data: 1.52MB + Index: 0.16MB + Engine InnoDB
    wpey_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_yith_wcwl: Data: 0.14MB + Index: 0.06MB + Engine InnoDB
    wpey_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpey_yoast_indexable: Data: 2.52MB + Index: 0.84MB + Engine InnoDB
    wpey_yoast_indexable_hierarchy: Data: 0.11MB + Index: 0.16MB + Engine InnoDB
    wpey_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpey_yoast_primary_term: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wpey_yoast_seo_links: Data: 0.16MB + Index: 0.09MB + Engine InnoDB
    wpey_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB Post Type Counts
    
    attachment: 3894
    br_notice: 2
    customize_changeset: 4
    custom_css: 1
    et_body_layout: 4
    et_footer_layout: 1
    et_pb_layout: 13
    et_template: 10
    et_theme_builder: 1
    fpf_fields: 1
    global_product_addon: 6
    is_search_form: 1
    lws-wre-event: 2
    lws-wre-pool: 2
    lws-wre-unlockable: 5
    nav_menu_item: 26
    oembed_cache: 5
    page: 61
    post: 22
    product: 1123
    product_variation: 445
    revision: 1523
    shop_coupon: 356
    shop_order: 3777
    shop_order_refund: 139
    wp_navigation: 1
    wp_template: 2 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (32)
    
    Advanced Coupons for WooCommerce Free: by Rymera Web Co – 4.5.9.2
    Advanced Coupons for WooCommerce Premium: by Rymera Web Co – 3.5.1
    All in One SEO: by All in One SEO Team – 4.5.4
    Cart Notices for WooCommerce: by BeRocket – 3.5.7.8
    Code Snippets: by Code Snippets Pro – 3.6.2
    WooCommerce Delivery & Pickup Date Time Pro: by CodeRockz – 1.4.20
    Duplicator: by Duplicator – 1.5.8
    Facebook for WooCommerce: by Facebook – 3.1.9
    Header Footer Code Manager: by 99robots – 1.1.36
    Mailchimp for WooCommerce: by Mailchimp – 3.5
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 4.3.1
    PW WooCommerce Gift Cards Pro: by Pimwick
    LLC – 1.470
    
    Speed Optimizer: by SiteGround – 7.4.6
    Smart Manager - WooCommerce Advanced Bulk Edit, Inventory Management & more…: by StoreApps – 8.28.0
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.5
    Product Filter by WBW: by WBW – 2.5.1
    Woo Shortcodes Kit: by Alberto G. – 2.0.2
    WooCommerce Composite Products: by SomewhereWarm – 7.0.5
    WooCommerce Product Add-ons: by WooCommerce – 3.0.34
    WooCommerce Product Bundles: by SomewhereWarm – 6.3.2
    WooCommerce Product Search: by itthinx – 3.1.1
    HUSKY - Products Filter Professional for WooCommerce: by realmag777 – 1.3.5
    WooCommerce Shortcodes: by WooThemes
    Claudio Sanches – 1.0.0
    
    WooCommerce Square: by WooCommerce – 4.4.0
    WooCommerce Subscriptions: by WooCommerce – 3.0.5
    WooCommerce: by Automattic – 8.5.1
    MyRewards: by Long Watch Studio – 4.9.8.1
    WP File Manager: by mndpsingh287 – 7.2.1
    WP phpMyAdmin: by Puvox.software – 5.2.1.02
    WP Rollback: by WP Rollback – 2.0.5
    YITH WooCommerce Quick View: by YITH – 1.34.0
    YITH WooCommerce Wishlist: by YITH – 3.28.0 Inactive Plugins (3)
    
    Flexible Checkout Fields: by WP Desk – 3.5.19
    Flexible Product Fields: by WP Desk – 2.3.14
    Jetpack: by Automattic – 13.0 Dropin Plugins (1)
    
    object-cache.php: Memcached Settings
    
    API Enabled: –
    Force SSL: –
    Currency: CAD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: bundle (bundle)
    composite (composite)
    external (external)
    grouped (grouped)
    pw gift card (pw-gift-card)
    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 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: #128 - /shop/
    Cart: #11 - /cart/
    Checkout: #12 - /checkout/
    My account: #13 - /my-account/
    Terms and conditions: ? Page not set Theme
    
    Name: Divi
    Version: 4.23.4
    Author URL: https://www.elegantthemes.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: – Pimwick Plugins
    
    PW WooCommerce Gift Cards Pro: License key: PW-5fa8233c2a236
    Result: success
    Cached: 2024-01-16 Subscriptions
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://www.plantvan.ca
    Subscription Statuses: –
    WooCommerce Account Connected: ? No
    Custom Retry Rules: ? No
    Custom Retry Rule Class: ? No
    Custom Raw Retry Rule: ? No
    Custom Retry Rule: ? No
    Retries Migration Status: ? Completed
    Report Cache Enabled: ? Yes
    Cache Update Failures: ? 0 failure Store Setup
    
    Country / State: Canada — Saskatchewan Payment Gateway Support
    
    Cash on delivery: products
    Square: products
    card_types
    customer_decline_messages
    payment_form
    authorization
    charge
    charge-virtual
    capture_charge
    refunds
    voids
    customer_id
    tokenization
    add_payment_method
    token_editor
    subscriptions
    subscription_suspension
    subscription_cancellation
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    multiple_subscriptions
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin Composite Products
    
    Database Version: 7.0.5
    Loopback Test: ?
    Template Overrides: – Product Bundles
    
    Database Version: 6.3.2
    Loopback Test: ?
    Template Overrides: – Square
    
    Environment: Production
    Tokenization Enabled: ?
    Debug Mode: Off 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
    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-linked
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2024-01-17 22:03:49 -06:00
    Options: ?
    Notes: 195
    Onboarding: completed Action Scheduler
    
    Canceled: 1
    Oldest: 2024-01-15 20:30:01 -0600
    Newest: 2024-01-15 20:30:01 -0600
    
    Complete: 4,430
    Oldest: 2023-12-16 16:32:55 -0600
    Newest: 2024-01-16 16:04:52 -0600
    
    Failed: 179
    Oldest: 2022-12-01 12:51:06 -0600
    Newest: 2024-01-16 16:04:52 -0600
    
    Pending: 8
    Oldest: 2024-01-16 16:09:52 -0600
    Newest: 2024-01-22 20:54:08 -0600 Status report information
    
    Generated at: 2024-01-16 16:05:14 -06:00
    `

    There was a fatal error in the log but it is from back on December 22, 2023. This was it:

    2023-12-22T13:40:54+00:00 CRITICAL Uncaught Error: Call to undefined method Automattic\WooCommerce\Internal\Admin\Marketing::get_knowledge_base_posts() in /home/customer/www/plantvan.ca/public_html/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Upsell.php:1429 Stack trace: #0 /home/customer/www/plantvan.ca/public_html/wp-includes/class-wp-hook.php(324): ACFWF\Models\Upsell->filter_wc_marketing_knowledge_base(false, ‘wc_marketing_kn…’) #1 /home/customer/www/plantvan.ca/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) #2 /home/customer/www/plantvan.ca/public_html/wp-includes/option.php(1246): apply_filters(‘transient_wc_ma…’, false, ‘wc_marketing_kn…’) #3 /home/customer/www/plantvan.ca/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Marketing/MarketingSpecs.php(150): get_transient(‘wc_marketing_kn…’) #4 /home/customer/www/plantvan.ca/public_html/wp-content/plugins/woocommerce/src/Admin/API/Marketing.php(148): Automattic\WooCommerce\Internal\Admin\Marketing\MarketingSpecs->get_kn in /home/customer/www/plantvan.ca/public_html/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Upsell.php on line 1429

    Thread Starter britmac

    (@britmac)

    Hi @shameemreza, I am using short code for the checkout page right now. The same code you mentioned is being used. Thank you for your help!

    Hey, @britmac!

    Thanks for sharing the information.

    Just to make sure we understood correctly:

    • You performed a plugin conflict test by deactivating them all and activating one by one, but you did not change the theme to Storefront, correct?
    • Both Square and Flexible Checkout Fields?were causing issues, and if they are deactivated everything works correctly, right?
    • If you have only one of them active, does the issue still occurs? Do you mind sharing more details on that? If any issue happens while only one is active, is it the same error regardless of having Square or Flexible Checkout Fields?
    • This started happening when WooCommerce updated to 8.5.1, correct? You mentioned you rolled back to a previous version and the issue remained. Can you confirm to which version you rolled back to? Was it the same version you had when everything was working correctly?
    • Does the issue still happens if you use the Checkout Block instead of the shortcode?
    • I see you currently have Flexible Checkout Fields version 3.5.19. It was updated to 3.6.0 yesterday (Jan 16), can you please update the plugin and check if the issue persists?

    Thank you!

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter britmac

    (@britmac)

    Hi @carolm29,

    Thank you for your time! I will answer your quests one-by-one below in bold

    • You performed a plugin conflict test by deactivating them all and activating one by one, but you did not change the theme to Storefront, correct?
      • Yes. Right now, the only conflict occurs when Square for Woocommerce is activated. I am running on a Divi Theme.
    • Both Square and Flexible Checkout Fields?were causing issues, and if they are deactivated everything works correctly, right?
      • Now, it is only Square. Everything works if it is deactivated.
    • If you have only one of them active, does the issue still occurs? Do you mind sharing more details on that? If any issue happens while only one is active, is it the same error regardless of having Square or Flexible Checkout Fields?
      • As above!
    • This started happening when WooCommerce updated to 8.5.1, correct? You mentioned you rolled back to a previous version and the issue remained. Can you confirm to which version you rolled back to? Was it the same version you had when everything was working correctly?
      • It co-incided with the time – hours after the update. I did try to rollback to an earlier version but the issue persisted. I rolled back to 8.3.0 and 8.4.0 I also upgraded to 8.5.2 today, and the problem persists.
    • Does the issue still happens if you use the Checkout Block instead of the shortcode?
      • I’m not sure how to do this. However, it is not just the page content that formats in a strange way, it is also the header and main menu of the site. This only happens on the checkout page when Square for Woocommerce is activated.
    • I see you currently have Flexible Checkout Fields version 3.5.19. It was updated to 3.6.0 yesterday (Jan 16), can you please update the plugin and check if the issue persists?
      • I did try to update this and the problem is persisting.

    Thank you very much for all of your help!

    Thank you for reaching back, clarifying things further, @britmac.

    You performed a plugin conflict test by deactivating them all and activating one by one, but you did not change the theme to Storefront, correct?
    Yes. Right now, the only conflict occurs when Square for Woocommerce is activated. I am running on a Divi Theme.

    Kindly go ahead with testing as follows, and see if the issue persists, or otherwise:

    Let us know how it goes. Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Square WooCommerce fatal error – Checkout Page’ is closed to new replies.