• Resolved jthiret

    (@jthiret)


    With newest update 3.8 I am getting a fatal error.

    Would love some help. I am new here to this forum. Do I post the Error Details? Thanks!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Saif

    (@babylon1999)

    Hello @jthiret,

    Sorry to hear you’ve had trouble with the latest release of the extension.

    In order to gain a clearer understanding of the issue, could you please provide the following?

    • A screenshot of the behaviour you’re encountering, you can use Snipboard.
    • 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.

    Thread Starter jthiret

    (@jthiret)

    Hello there and appreciate your response.

    The behavior is the website encountered a fatal error. The site does not load.

    Here is a system report and error log

    WordPress Environment
    
    WordPress address (URL): https://freeprescriptionlenses.com
    Site address (URL): https://freeprescriptionlenses.com
    WC Version: 7.6.1
    REST API Version: ✔ 7.6.1
    WC Blocks Version: ✔ 9.8.5
    Action Scheduler Version: ✔ 3.5.4
    Log Directory Writable: ✔
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: – Server Environment Server Info: Apache
    PHP Version: 8.2.5
    PHP Post Max Size: 2 GB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 8.0.1
    OpenSSL/1.1.1t SUHOSIN Installed: –
    MySQL Version: 5.7.23-23
    Max Upload Size: 2 GB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔ Database WC Database Version: 7.6.1
    WC Database Prefix: wpvp_
    Total Database Size: 649.26MB
    Database Data Size: 440.56MB
    Database Index Size: 208.70MB
    wpvp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpvp_woocommerce_order_items: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wpvp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.52MB + Engine InnoDB
    wpvp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpvp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_actionscheduler_actions: Data: 292.36MB + Index: 134.86MB + Engine InnoDB
    wpvp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_actionscheduler_logs: Data: 66.09MB + Index: 56.14MB + Engine InnoDB
    wpvp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpvp_automatewoo_customers: Data: 0.08MB + Index: 0.13MB + Engine InnoDB
    wpvp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_automatewoo_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpvp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpvp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_automatewoo_logs: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wpvp_automatewoo_log_meta: Data: 0.20MB + Index: 0.16MB + Engine InnoDB
    wpvp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpvp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_comments: Data: 1.52MB + Index: 0.55MB + Engine InnoDB
    wpvp_commercekit_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_commercekit_swatches_cache_count: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_commercekit_waitlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_commercekit_wishlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_commercekit_wishlist_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_e_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_options: Data: 9.08MB + Index: 0.38MB + Engine InnoDB
    wpvp_postmeta: Data: 34.52MB + Index: 7.97MB + Engine InnoDB
    wpvp_posts: Data: 22.52MB + Index: 1.03MB + Engine InnoDB
    wpvp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_termmeta: Data: 0.11MB + Index: 0.17MB + Engine InnoDB
    wpvp_terms: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    wpvp_term_relationships: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
    wpvp_term_taxonomy: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wpvp_tm_taskmeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wpvp_tm_tasks: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
    wpvp_usermeta: Data: 3.48MB + Index: 3.91MB + Engine InnoDB
    wpvp_users: Data: 0.11MB + Index: 0.14MB + Engine InnoDB
    wpvp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wpvp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wpvp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_wc_customer_lookup: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    wpvp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wpvp_wc_order_stats: Data: 0.17MB + Index: 0.14MB + Engine InnoDB
    wpvp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvp_wc_product_attributes_lookup: Data: 0.30MB + Index: 0.23MB + Engine InnoDB
    wpvp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_wc_product_meta_lookup: Data: 0.20MB + Index: 0.38MB + Engine InnoDB
    wpvp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_woocommerce_square_customers: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpvp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvp_yoast_indexable: Data: 5.06MB + Index: 0.13MB + Engine InnoDB
    wpvp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpvp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvp_yoast_primary_term: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wpvp_yoast_seo_links: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
    xyey_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB Post Type Counts attachment: 4618
    aw_workflow: 2
    custom_css: 1
    elementor_library: 10
    fpf_fields: 2
    mc4wp-form: 1
    nav_menu_item: 8
    oembed_cache: 3
    page: 14
    post: 5
    product: 283
    product_variation: 1795
    revision: 1313
    shop_coupon: 5
    shop_order: 1302
    shop_order_refund: 26
    wpcf7_contact_form: 1
    wpforms: 1
    wp_block: 1 Security Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔ Active Plugins (22) AutomateWoo: by WooCommerce – 5.5.11
    Classic Editor: by WordPress Contributors – 1.6.3
    Classic Widgets: by WordPress Contributors – 0.3
    CommerceGurus Commercekit: by CommerceGurus – 2.0.0
    Contact Form 7: by Takayuki Miyoshi – 5.7.6
    Elementor: by Elementor.com – 3.12.2
    Facebook for WooCommerce: by Facebook – 3.0.22
    Flexible Checkout Fields PRO: by WP Desk – 3.5.4
    Flexible Checkout Fields: by WP Desk – 3.5.7
    Flexible Product Fields PRO: by WP Desk – 2.3.2
    Flexible Product Fields: by WP Desk – 2.3.7
    Kirki Customizer Framework: by David Vongries – 4.1.1
    MC4WP: Mailchimp for WordPress: by ibericode – 4.9.4
    Maintenance: by WebFactory Ltd – 4.07
    Perfect Brands WooCommerce: by QuadLayers – 3.0.7
    WooCommerce Additional Variation Images: by WooCommerce – 2.0.0
    WooCommerce Smart Coupons: by StoreApps – 4.19.0
    WooCommerce: by Automattic – 7.6.1
    Yoast SEO: by Team Yoast – 20.6
    WP Fastest Cache: by Emre Vona – 1.1.5
    WP Mail SMTP: by WP Mail SMTP – 3.8.0
    ReCaptcha v2 for Contact Form 7: by IQComputing – 1.4.3 Inactive Plugins (1) WooCommerce Square: by WooCommerce – 3.8.0 Must Use Plugins (1) Endurance Page Cache: by Mike Hansen – 2.2 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)
    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: –
    Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #7 - /shop/
    Cart: #8 - /cart/
    Checkout: #9 - /checkout/
    My account: #10 - /my-account/
    Terms and conditions: ❌ Page not set Theme Name: Shoptimizer
    Version: 2.6.5
    Author URL: https://www.commercegurus.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: – Admin Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-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: block-editor-feature-enabled
    minified-js
    new-product-management-experience
    product-variation-management
    settings Daily Cron: ✔ Next scheduled: 2023-05-06 21:46:33 -04:00
    Options: ✔
    Notes: 111
    Onboarding: completed Action Scheduler Complete: 2,525
    Oldest: 2023-04-05 19:49:23 -0400
    Newest: 2023-05-06 12:49:56 -0400 Failed: 5
    Oldest: 2021-12-07 00:30:39 -0500
    Newest: 2022-07-09 04:15:11 -0400 Pending: 3
    Oldest: 2023-05-07 01:03:34 -0400
    Newest: 2023-05-07 10:00:52 -0400 Status report information Generated at: 2023-05-06 12:57:53 -04:00
    `

    Here is the log

    Thread Starter jthiret

    (@jthiret)

    Error Details
    =============
    An error of type E_ERROR was caused in line 77 of the file /home3/bu11city/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/PaymentTokens/Payment_Gateway_Payment_Tokens_Handler.php. Error message: Uncaught Error: Call to undefined function WooCommerce\Square\Framework\PaymentGateway\PaymentTokens\as_has_scheduled_action() in /home3/bu11city/public_html/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/PaymentTokens/Payment_Gateway_Payment_Tokens_Handler.php:77
    Stack trace:
    #0 /home3/bu11city/public_html/wp-includes/class-wp-hook.php(308): WooCommerce\Square\Framework\PaymentGateway\PaymentTokens\Payment_Gateway_Payment_Tokens_Handler->schedule_token_migration_job(”)
    #1 /home3/bu11city/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #2 /home3/bu11city/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home3/bu11city/public_html/wp-settings.php(623): do_action(‘init’)
    #4 /home3/bu11city/public_html/wp-config.php(78): require_once(‘/home3/bu11city…’)
    #5 /home3/bu11city/public_html/wp-load.php(50): require_once(‘/home3/bu11city…’)
    #6 /home3/bu11city/public_html/wp-admin/admin.php(34): require_once(‘/home3/bu11city…’)
    #7 /home3/bu11city/public_html/wp-admin/plugins.php(10): require_once(‘/home3/bu11city…’)
    #8 {main}
      thrown

    Saif

    (@babylon1999)

    I can’t replicate this on my test site but I can see a similar bug recorded by the team in version 3.8.0.

    Have you tried downgrading to version 3.7.1?

    You can download the .zip file from here: https://downloads.wordpress.org/plugin/woocommerce-square.3.7.1.zip

    If you never uploaded a plugin to your site before, you can check this guide for step-by-step instructions.

    Let us know how it goes!

    Thread Starter jthiret

    (@jthiret)

    I built the site so yes I know how to upload a plugin… It worked.. I was not able to find the previous version searching Internet… 3.7.1 is working great … Thanks for your help ~!!!

    Hello,

    For better assistance, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Important: Please include a link to this forum thread.

    Thank you!

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

The topic ‘Woocommerce Square Plugin Fatal Error’ is closed to new replies.