• Resolved sfostersatx

    (@sfostersatx)


    I am receiving the following message in the WooCommerce Status logs:

    2024-05-31T02:00:25+00:00 CRITICAL Uncaught Error: Class “WooCommerce\Square\Gateway\Blocks_Handler” not found in /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce-square/woocommerce-square.php:430 Stack trace: #0 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(324): WooCommerce_Square_Loader->register_payment_method_block_integrations(Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry)) #1 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Integrations/IntegrationRegistry.php(50): do_action(‘woocommerce_blo…’, Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry)) #4 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry->initialize(”) #5 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home2/psbake/cakes.pawsweetbakery.com/wp-settings.php(643): do_action(‘init’) #8 /home2/psbake/cakes.pawsweetbakery.com/wp-config.php(96): require_once(‘/home2/psbake/c…’) #9 /home2/psbake/cakes.pawsweetbakery.com/wp-load.php(50): require_once(‘/home2/psbake/c…’) #10 /home2/psbake/cakes.pawsweetbakery.com/wp-admin/admin.php(34): require_once(‘/home2/psbake/c…’) #11 /home2/psbake/cakes.pawsweetbakery.com/wp-admin/plugins.php(10): require_once(‘/home2/psbake/c…’) #12 {main} thrown in /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce-square/woocommerce-square.php on line 430

    I have everything updated with plugins and wordpress.

    I have tried manually installing it as well as using the internal add plugin search.

    Any ideas how to correct this error?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @sfostersatx,

    This could be an issue with your WooCommerce or your Square plugins, you mentioned you’ve updated everything to the latest version already, correct? And that you’re trying to install Square from the repository directly from the plugin search in your WP Admin, correct?

    Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

    Thanks!
    -OP

    Thread Starter sfostersatx

    (@sfostersatx)

    Status Report without the activated plugin

    ` WordPress Environment
    
    WordPress address (URL): https://cakes.pawsweetbakery.com
    Site address (URL): https://cakes.pawsweetbakery.com
    WC Version: 8.1.1
    REST API Version: ✔ 8.1.1
    WC Blocks Version: ✔ 10.9.3
    Action Scheduler Version: ✔ 3.7.2
    Log Directory Writable: ✔
    WP Version: 6.5.3
    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.28
    PHP Post Max Size: 516 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 8.7.1
    OpenSSL/1.1.1w
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.23-23
    Max Upload Size: 512 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔ Database
    
    WC Database Version: 8.1.1
    WC Database Prefix: wppm_
    Total Database Size: 19.10MB
    Database Data Size: 12.49MB
    Database Index Size: 6.61MB
    wppm_woocommerce_sessions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
    wppm_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wppm_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wppm_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_actionscheduler_actions: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
    wppm_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_actionscheduler_logs: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wppm_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wppm_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
    wppm_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wppm_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_nfd_data_event_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_options: Data: 5.09MB + Index: 0.14MB + Engine InnoDB
    wppm_pisol_dtt_date_time: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_pisol_dtt_orders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_postmeta: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
    wppm_posts: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
    wppm_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wppm_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wppm_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wppm_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wppm_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wppm_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wppm_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wppm_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wppm_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wppm_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wppm_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
    wppm_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wppm_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_wpf_meta_data: Data: 0.05MB + Index: 0.08MB + Engine InnoDB
    wppm_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wpf_meta_values: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wppm_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wppm_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts
    
    acf-field: 246
    acf-field-group: 12
    attachment: 125
    customize_changeset: 14
    custom_css: 1
    es_slider: 1
    nav_menu_item: 10
    page: 18
    pisol_location: 1
    post: 12
    product: 29
    product_variation: 15
    revision: 72
    shop_order: 2
    wpcf7_contact_form: 4
    wpforms: 2
    wp_global_styles: 1
    wp_navigation: 1
    wp_template: 2 Security
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔ Active Plugins (25)
    
    Advanced Custom Fields PRO: by ACF – 6.2.6.1
    Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.2
    Classic Editor: by WordPress Contributors – 1.6.3
    Classic Widgets: by WordPress Contributors – 0.3
    Contact Form 7: by Takayuki Miyoshi – 5.8
    Duplicate Menu: by Jonathan Christopher – 0.2.2
    Flexible Checkout Fields: by WP Desk – 4.1.6
    Google Listings and Ads: by WooCommerce – 2.7.1
    Jetpack: by Automattic – 13.4.3
    Mailchimp for WooCommerce: by Mailchimp – 4.0.2
    Menu Icons: by ThemeIsle – 0.13.0
    The MOJO Marketplace: by Bluehost – 1.7.9
    Gwt Plugin: by Adem ÖZDAMAR – 1.0.0
    One Click Demo Import: by OCDI – 3.1.2
    WP Options Importer: by Matthew Boynes – 5
    Order Calendar for WooCommerce: by PI Websolution – 1.6.37
    PI WooCommerce order date time and type PRO: by PI Websolution – 3.3.11.6
    Add to Cart Text Changer by Code Astrology: by Saiful Islam – 1.9
    Product Filter by WooBeWoo: by WooBeWoo – 2.1.5
    WooCommerce Extra Product Options Pro: by ThemeHigh – 3.2.5
    WooCommerce Payments: by Automattic – 4.6.0
    WooCommerce Shipping & Tax: by WooCommerce – 1.26.3
    WooCommerce: by Automattic – 8.1.1
    WP Menu Cart: by WP Overnight – 2.12.0
    WPForms Lite: by WPForms – 1.8.8.3 Inactive Plugins (5)
    
    Gutenberg: by Gutenberg Team – 18.4.1
    OptinMonster: by OptinMonster Popup Builder Team – 2.16.2
    ProductX: by wpxpo – 3.1.16
    WooCommerce Square: by WooCommerce – 4.6.2
    WP Downgrade | Specific Core Version: by Reisetiger – 1.2.6 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)
    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: –
    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: #331 - /products/
    Cart: #10 - /cart/
    Checkout: #11 - /checkout/
    My account: #12 - /my-account/
    Terms and conditions: ❌ Page not set Theme
    
    Name: Bakeryo - Bakery & Cake WooCommerce WordPress Theme
    Version: 1.0.0
    Author URL: https://www.templatemonster.com/authors/garantiwebt/
    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: – 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
    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-variation-management
    settings
    async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2024-06-05 20:37:01 -05:00
    Options: ✔
    Notes: 70
    Onboarding: skipped WooCommerce Payments
    
    Version: 4.6.0
    Connected to WPCOM: Yes
    Blog ID: 233733567
    Account ID: acct_1PMukWFyS28zAlmg Action Scheduler
    
    Complete: 343
    Oldest: 2024-05-19 17:27:53 +0000
    Newest: 2024-06-04 20:28:34 +0000
    
    Failed: 2
    Oldest: 2024-05-19 20:38:00 +0000
    Newest: 2024-05-31 03:00:35 +0000
    
    Pending: 7
    Oldest: 2024-06-05 07:15:03 +0000
    Newest: 2024-06-09 17:53:42 +0000 Status report information
    
    Generated at: 2024-06-04 16:11:49 -05:00
    `

    Status Log:

    2024-05-31T02:00:25+00:00 CRITICAL Uncaught Error: Class “WooCommerce\Square\Gateway\Blocks_Handler” not found in /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce-square/woocommerce-square.php:430 Stack trace: #0 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(324): WooCommerce_Square_Loader->register_payment_method_block_integrations(Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry)) #1 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home2/psbake/cakes.pawsweetbakery.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Integrations/IntegrationRegistry.php(50): do_action(‘woocommerce_blo…’, Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry)) #4 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry->initialize(”) #5 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /home2/psbake/cakes.pawsweetbakery.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home2/psbake/cakes.pawsweetbakery.com/wp-settings.php(643): do_action(‘init’) #8 /home2/psbake/cakes.pawsweetbakery.com/wp-config.php(96): require_once(‘/home2/psbake/c…’) #9 /home2/psbake/cakes.pawsweetbakery.com/wp-load.php(50): require_once(‘/home2/psbake/c…’) #10 /home2/psbake/cakes.pawsweetbakery.com/wp-admin/admin.php(34): require_once(‘/home2/psbake/c…’) #11 /home2/psbake/cakes.pawsweetbakery.com/wp-admin/plugins.php(10): require_once(‘/home2/psbake/c…’)

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @sfostersatx

    The team is already aware of this issue: https://github.com/woocommerce/woocommerce-square/issues/135

    At the time being, we can’t give you an estimate for when the team will look into or fix the issue, as bug reports are prioritized based on a few criteria. Please subscribe to the GitHub issue if you’d like to receive updates.

    I hope this helps! If you have any other questions, feel free to ask.

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there 👋 ,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    All the best,
    Omar

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Critical Error when Activating Plugin’ is closed to new replies.