• Resolved davec14

    (@davec14)


    Good Afternoon,

    Like some other users, we are having an issue activating this plugin on both live and staging sites. We have tried rolling back to an earlier version of the plugin, but that has the same outcome. We have pushed the site to a staging instance, deactivated our theme, and all other plugins bar this and woo, and still have the same issues. Everything is up to date, but it is still not working. Do you have any idea what this might be? I’ll attach our status report below:

    `
    ### WordPress Environment ###

    WordPress address (URL): https://stg-portstone-portstone.kinsta.cloud
    Site address (URL): https://stg-portstone-portstone.kinsta.cloud
    WC Version: 10.2.2
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ✔ 3.9.3
    Log Directory Writable: ✔
    WP Version: 6.8.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB
    External object cache: –

    ### Server Environment ###

    Server Info: nginx/1.26.2
    Server Architecture: Linux 6.8.0-1034-gcp x86_64
    PHP Version: 8.1.32
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 8.5.0
    OpenSSL/3.0.13

    SUHOSIN Installed: –
    MySQL Version: 10.11.13-MariaDB-0ubuntu0.24.04.1
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 10.2.2
    WC Database Prefix: wp_
    Total Database Size: 43.04MB
    Database Data Size: 33.54MB
    Database Index Size: 9.50MB
    wp_woocommerce_sessions: Data: 2.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.09MB + Index: 0.09MB + 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: 1.02MB + Index: 0.75MB + 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.22MB + Index: 0.20MB + Engine InnoDB
    wp_cky_banners: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_cky_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cky_cookie_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_elex_bep_bulk_edit_job_schedule: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_elex_bep_bulk_edit_subjob_schedule: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_elex_bep_jobs: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_elex_bep_job_undo_products: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    wp_email_log: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_gdpr_cc_options: 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.05MB + Index: 0.03MB + Engine InnoDB
    wp_gf_entry_meta: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    wp_gf_entry_notes: Data: 0.02MB + 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.06MB + Index: 0.03MB + Engine InnoDB
    wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_iconic_was_fees: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_iconic_woothumbs_cache: Data: 4.02MB + Index: 0.00MB + Engine InnoDB
    wp_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 4.34MB + Index: 0.17MB + Engine InnoDB
    wp_pmxe_exports: Data: 0.28MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_posts: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_geocoding: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_pmxi_hash: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_images: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_imports: Data: 0.38MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_posts: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_templates: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 5.25MB + Index: 1.97MB + Engine InnoDB
    wp_posts: Data: 5.16MB + Index: 0.31MB + Engine InnoDB
    wp_redirection_404: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_redirection_logs: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_simple_history: Data: 1.02MB + Index: 0.06MB + Engine InnoDB
    wp_simple_history_contexts: Data: 3.02MB + Index: 3.05MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sp_email_logs: Data: 0.02MB + Index: 0.02MB + 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.13MB + Index: 0.08MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wcf_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcf_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcf_index: Data: 0.14MB + Index: 0.14MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.05MB + 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_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_wc_orders_meta: Data: 0.11MB + Index: 0.20MB + Engine InnoDB
    wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.08MB + 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_attributes_lookup: Data: 0.16MB + Index: 0.11MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.11MB + 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_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woof_sd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woof_sd_presets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wppusher_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.25MB + Index: 0.13MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + 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_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB

    ### Post Type Counts ###

    acf-field: 4
    acf-field-group: 1
    attachment: 696
    nav_menu_item: 42
    page: 32
    post: 3
    product: 148
    product_variation: 54
    revision: 410
    shop_order: 41
    ufaq: 18
    wc_afrsm: 3
    wc_afrsm_zone: 3
    wcpf_item: 5
    wcpf_project: 1
    wp_block: 5
    wp_font_face: 36
    wp_font_family: 12
    wp_global_styles: 1
    wp_navigation: 1

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (2) ###

    WooCommerce: by Automattic – 10.2.2
    WP Rollback: by WP Rollback – 3.0.8

    ### Inactive Plugins (39) ###

    AddToAny Share Buttons: by AddToAny – 1.8.13
    Advanced Custom Fields PRO: by WP Engine – 6.4.1
    Advanced Flat Rate Shipping For WooCommerce Market: by theDotstore – 4.7.9
    Bulk Edit Products, Prices & Attributes for Woocommerce: by ELEXtensions – 2.2.1
    Email Log: by Sudar – 2.4.9
    FREE Product for WooCommerce: by Nitin Prakash – 1.1
    GDPR Cookie Compliance: by Moove Agency – 5.0.5
    Google Analytics for WooCommerce: by WooCommerce – 2.1.17
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 9.8.0
    Gravity Forms: by Gravity Forms – 2.9.19
    Imagify: by Imagify Image Optimizer – Optimize Images & Convert WebP & Avif – 2.2.6
    Kadence WooCommerce Email Designer: by Kadence WP – 1.5.17
    Menu Image: by Freshlight Lab – 3.13
    Order Minimum/Maximum Amount Limits for WooCommerce Pro: by WPFactory – 4.6.0
    PW WooCommerce Bulk Edit Pro: by Pimwick
    LLC – 3.16

    Redirection: by John Godley – 5.5.2
    Simple History: by Pär Thernström – 5.15.0
    SimpLy Gallery Block & Lightbox: by GalleryCreator – 3.2.7
    SparkPost: by SparkPost – 3.2.6
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 2.3
    Ultimate FAQ Accordion Plugin: by Etoile Web Design – 2.4.0
    WooCommerce Attribute Swatches by Iconic: by Iconic <[email protected]> – 1.19.0
    WooCommerce Bulk Variations: by Barn2 Plugins – 2.4.4
    WooCommerce Product Filters: by Barn2 Plugins – 1.4.22
    WooCommerce Shipment Tracking: by WooCommerce – 2.6.3 (update to version 2.6.4 is available)
    WooCommerce Square: by WooCommerce – 5.1.0
    WooCommerce Xero Integration: by WooCommerce – 1.9.7 (update to version 1.9.8 is available)
    WooThumbs for WooCommerce by Iconic: by Iconic – 5.5.4
    Wordfence Login Security: by Wordfence – 1.1.15
    Worldpay eCommerce for WooCommerce: by Worldpay – 1.0.4
    WP All Export - ACF Export Add-On Pro: by Soflyy – 1.0.6
    WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.10
    WP All Export Pro: by Soflyy – 1.9.11
    WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 4.0.5
    WP All Import Pro: by Soflyy – 4.11.4
    WP Pusher: by WP Pusher – 3.0.13
    WP Swiper: by Digital Apps – 1.2.18
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Yoast SEO: by Team Yoast – 25.8

    ### Must Use Plugins (1) ###

    Kinsta Must-use Plugins: by Kinsta Team – 3.1.1

    ### Settings ###

    Legacy 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)
    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: –
    Enforce Approved Product Download Directories: ✔
    HPOS feature enabled: ✔
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: ✔
    Enabled Features: analytics
    marketplace
    order_attribution
    site_visibility_badge
    remote_logging
    blueprint
    point_of_sale
    custom_order_tables


    ### Logging ###

    Enabled: ✔
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 985 KB

    ### WC Pages ###

    Shop base: #37 - /shop/
    Basket: #38 - /basket/ - Contains the woocommerce/cart block
    Checkout: #39 - /checkout/ - Contains the woocommerce/checkout block
    My account: #40 - /my-account/ - Contains the [woocommerce_my_account] shortcode
    Terms and conditions: ❌ Page not set

    ### Theme ###

    Name: Storefront
    Version: 4.6.1
    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

    Theme type: Classic theme
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: –

    ### Admin ###

    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store

    Disabled Features: product-data-views
    experimental-blocks
    experimental-iapi-mini-cart
    experimental-iapi-runtime
    coming-soon-newsletter-template
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system
    use-wp-horizon
    experimental-wc-rest-api

    Daily Cron: ✔ Next scheduled: 2025-10-08 15:40:17 +00:00
    Options: ✔
    Notes: 101
    Onboarding: skipped

    ### Action Scheduler ###

    Complete: 936
    Oldest: 2025-09-07 14:39:11 +0000
    Newest: 2025-10-08 13:16:55 +0000

    Failed: 3
    Oldest: 2025-02-03 15:54:21 +0000
    Newest: 2025-10-07 07:42:16 +0000

    Pending: 13
    Oldest: 2025-10-08 14:16:55 +0000
    Newest: 2025-10-22 07:43:57 +0000


    ### Status report information ###

    Generated at: 2025-10-08 14:14:56 +00:00

    Any help would be amazing, thank you.

Viewing 15 replies - 1 through 15 (of 23 total)
  • Hi @davec14,

    Thank you for reaching out about this issue. I can see you’ve already put in a lot of effort trying to get the plugin installed, and I understand how frustrating and exhausting it can be when it still doesn’t work.

    To help identify the cause of the problem, could you please let me know how you’re attempting to install the plugin — through your WordPress admin dashboard or manually by downloading and uploading it? Also, what exactly happens when you try to install it? Do you receive any specific error messages?

    The more details you can provide, the easier it’ll be for me to pinpoint the issue and guide you toward a solution.

    Thread Starter davec14

    (@davec14)

    Thank you so much for getting back to me. Of course, we are trying to install through the wordpress admin dashboard. As soon as we press activate, we get this message:

    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

    if i then check the error logs I get this:

    2025/10/08 14:56:04 [error] 30648#30648: *2560 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class "WooCommerce\Square\Admin\Product_Editor_Compatibility" not found in /www/portstone_228/public/wp-content/plugins/woocommerce-square/woocommerce-square.php:459
    Stack trace:
    #0 /www/portstone_228/public/wp-includes/class-wp-hook.php(324): WooCommerce_Square_Loader->declare_features_compatibility('')
    #1 /www/portstone_228/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /www/portstone_228/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /www/portstone_228/public/wp-content/plugins/woocommerce/includes/class-woocommerce.php(860): do_action('before_woocomme...')
    #4 /www/portstone_228/public/wp-includes/class-wp-hook.php(324): WooCommerce->init('')
    #5 /www/portstone_228/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #6 /www/portstone_228/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /www/portstone_228/public/wp-settings.php(727): do_action('init')
    #8 /" while reading response header from upstream, client: 92.30.172.90, server: stg-portstone-portstone.kinsta.cloud, request: "GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.1-fpm-portstone.sock:", host: "stg-portstone-portstone.kinsta.cloud:14824", referrer: "https://stg-portstone-portstone.kinsta.cloud/wp-admin/plugins.php"

    Thank you for any insight into this!

    Thank you for getting back @davec14,

    This type of issue usually occurs due to a corrupted installation or a conflict with the server environment. Please try downloading the plugin manually from ww.wp.xz.cn, then upload it to your wp-content/plugins folder via FTP. After extracting the file, log back into your WordPress dashboard, activate the plugin, and let me know if that resolves the problem.

    Thread Starter davec14

    (@davec14)

    Thank you for getting back to me. I deleted the plugin and then using SFTP uploaded the fresh one from ww.wp.xz.cn. However this also didn’t work, and resulted in the same error:

    2025/10/08 15:20:48 [error] 30648#30648: *2628 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class "WooCommerce\Square\Admin\Product_Editor_Compatibility" not found in /www/portstone_228/public/wp-content/plugins/woocommerce-square/woocommerce-square.php:459
    Stack trace:
    #0 /www/portstone_228/public/wp-includes/class-wp-hook.php(324): WooCommerce_Square_Loader->declare_features_compatibility('')
    #1 /www/portstone_228/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 /www/portstone_228/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /www/portstone_228/public/wp-content/plugins/woocommerce/includes/class-woocommerce.php(860): do_action('before_woocomme...')
    #4 /www/portstone_228/public/wp-includes/class-wp-hook.php(324): WooCommerce->init('')
    #5 /www/portstone_228/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #6 /www/portstone_228/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /www/portstone_228/public/wp-settings.php(727): do_action('init')
    #8 /" while reading response header from upstream, client: 92.30.172.90, server: stg-portstone-portstone.kinsta.cloud, request: "GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.1-fpm-portstone.sock:", host: "stg-portstone-portstone.kinsta.cloud:14824", referrer: "https://stg-portstone-portstone.kinsta.cloud/wp-admin/plugins.php?plugin_status=all&paged=1&s"

    Hi @davec14,

    Thank you for getting back. The error in the log indicates that the file you’re trying to upload is either corrupted or incomplete, as it’s missing the includes/Admin/Product_Editor_Compatibility.php file. However, when I downloaded the plugin directly from ww.wp.xz.cn, that file was present.

    This suggests that the issue may be due to an incomplete download or your server serving a cached or outdated version of the plugin.

    To confirm, please extract the plugin ZIP file you downloaded and check inside the includes/Admin/ folder to see if the product_editor_compatibility.php file is there.

    Thread Starter davec14

    (@davec14)

    Ah, that is strange, when I check the downloaded files, that file is present. When i check through SFTP the file is also present on the server. Should I delete it again, clear all caches etc, and then try again?

    Hi @davec14,

    Yes, please go ahead and delete the newly added file. After that, clear all caches — including any server-side cache if available. I also recommend installing the WP-Optimize plugin to clean up and optimize your database. Once done, try the process again and see if it resolves the issue.

    Hi Chiming in here,
    We are having the exact same issue on our site.
    PHP Fatal error: Uncaught Error: Class “WooCommerce\Square\Admin\Product_Editor_Compatibility” not found.
    Re downloaded the plugin, updated and swapped out, cleared cached, and optimized.. It’s been doing this for months on a staging server. Pretty serious issue here and not sure what the bug is.

    Also flagging – we are hosting on Kinsta as well.

    Hi @operationcmyk,

    As per forum best practices, it’s recommended to open a new thread for issues that are specific to your site or setup. This helps keep discussions organized and ensures your problem gets the proper visibility from the community and support team.

    When creating your new thread, please include:

    • Your hosting environment (Kinsta)
    • The version of WooCommerce and the Square plugin you are using
    • Steps you’ve already tried (re-downloading, updating, clearing cache, etc.)
    • Any error messages or logs (like the PHP Fatal error you mentioned)
    • System Status Report. You can get a System Status Report by going to WooCommerce > Status > Get system report, then paste it into https://pastebin.com or https://gist.github.com

    Providing these details will help others understand your issue quickly and offer accurate guidance.

    Thread Starter davec14

    (@davec14)

    Good Morning,

    So we have done all the above, and had no luck. I’ve even tried kinsta support to see if there are any caches they can clear, but they informed me that “Staging sites have no server-side caching enabled”. I have tried everything you have asked, but still no joy. Do you have any other suggestions?

    Thank you.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for following the steps. Before escalating your issue internally, for testing purposes, could you please deactivate all plugins except WooCommerce and then try reinstalling the plugin once more to see if you still face the same issue?

    Thread Starter davec14

    (@davec14)

    I have done this multiple times, but with no luck. I have just done it again, everything else is off, and it still gave me the problem. Even got support to clear the cache using WP-CLI, but still the problem persists.

    Thank you so much for your help, what else do you need from me to escalate this?

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you. We are discussing this issue with our team and will get back to you once we have an update.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    We’ve tried to replicate this issue on our end but were not able to reproduce it.
    That’s why we recommend creating a completely new (fresh) WordPress site — not a staging copy — and testing it there.

    This will help confirm whether the issue is specific to your current site setup or something else.
    Please let us know the results after testing.

Viewing 15 replies - 1 through 15 (of 23 total)

You must be logged in to reply to this topic.