• Resolved coffeebean22

    (@coffeebean22)


    Getting the following error when trying to add WooCommerce’s One Page Checkout to a composite product that includes a variable product. I’ve tried multiple themes, but can’t get the one page checkout to load.

    Otherwise, I’m able to use the traditional “product > cart > checkout” path.

    2021-07-23T18:07:45+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes::get_form() must be an instance of WC_Product_Variation, bool given, called in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 105 and defined in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php:130
    Stack trace:
    #0 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(105): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes->get_form(false, 0)
    #1 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(62): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttribut in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 130
    
    2021-07-23T18:07:52+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes::get_form() must be an instance of WC_Product_Variation, bool given, called in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 105 and defined in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php:130
    Stack trace:
    #0 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(105): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes->get_form(false, 0)
    #1 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(62): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttribut in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 130
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    Could you please share a copy of your site’s System Status? 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.

    Thanks!

    Thread Starter coffeebean22

    (@coffeebean22)

    Hey @gabrielfuentes! Thanks for the help, see below:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://theclientgift.com
    Site address (URL): https://theclientgift.com
    WC Version: 5.5.2
    REST API Version: ? 5.5.2
    WC Blocks Version: ? 5.3.3
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.4.4
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.21
    PHP Post Max Size: 516 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.77.0
    OpenSSL/1.1.1k
    
    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: 5.5.2
    WC Database Prefix: umk_
    Total Database Size: 26.76MB
    Database Data Size: 22.98MB
    Database Index Size: 3.78MB
    umk_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    umk_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    umk_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    umk_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + Engine InnoDB
    umk_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    umk_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    umk_e_submissions: Data: 0.02MB + Index: 0.23MB + Engine InnoDB
    umk_e_submissions_actions_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_e_submissions_values: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    umk_gla_merchant_issues: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    umk_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    umk_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    umk_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    umk_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_options: Data: 3.03MB + Index: 0.09MB + Engine InnoDB
    umk_postmeta: Data: 2.16MB + Index: 0.28MB + Engine InnoDB
    umk_posts: Data: 0.52MB + Index: 0.06MB + Engine InnoDB
    umk_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_usermeta: Data: 0.03MB + Index: 0.03MB + Engine InnoDB
    umk_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    umk_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_wc_order_bundle_lookup: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    umk_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    umk_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    umk_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    umk_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wffilemods: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
    umk_wfhits: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    umk_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    umk_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    umk_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    umk_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    umk_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    umk_wfstatus: Data: 0.14MB + Index: 0.13MB + Engine InnoDB
    umk_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    umk_woocommerce_bundled_itemmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    umk_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    umk_woocommerce_exported_csv_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 109
    customize_changeset: 4
    elementor_font: 1
    elementor_icons: 1
    elementor_library: 12
    mailpoet_page: 1
    nav_menu_item: 10
    page: 32
    post: 1
    product: 42
    product_variation: 4
    revision: 196
    um_directory: 1
    um_form: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (31) ###
    
    Bluehost: by Bluehost – 2.8.0
    Code Snippets: by Code Snippets Pro – 2.14.1
    Disable Comments: by WPDeveloper – 2.1.2
    Elementor Pro: by Elementor.com – 3.3.4
    Elementor: by Elementor.com – 3.3.1
    Essential Addons for Elementor: by WPDeveloper – 4.8.1
    Google Listings and Ads: by WooCommerce – 1.2.1
    Jetpack: by Automattic – 9.9.1
    Mailchimp for WooCommerce: by Mailchimp – 2.5.1
    MailPoet 3 (New): by MailPoet – 3.65.1
    Members: by MemberPress – 3.1.5
    Profile Builder: by Cozmoslabs – 3.4.9
    Really Simple SSL: by Really Simple Plugins – 5.0.3
    Sparkle Demo Importer: by sparklewpthemes – 1.1.7
    Templately: by Templately – 1.3.0
    Timeline Widget Addon For Elementor: by Cool Plugins – 1.3
    Ultimate Member: by Ultimate Member – 2.2.0
    White Label CMS: by www.videousermanuals.com – 2.2.3
    Checkout Field Editor for WooCommerce (Pro): by ThemeHigh – 3.1.6
    WooCommerce Composite Products: by SomewhereWarm – 8.2.0
    WooCommerce Customer/Order/Coupon Export: by SkyVerge – 5.3.2
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.2
    WooCommerce Stripe Gateway: by WooCommerce – 5.3.0
    WooCommerce One Page Checkout: by Automattic – 1.7.11
    WooCommerce Payments: by Automattic – 2.7.0
    WooCommerce Product Bundles: by SomewhereWarm – 6.11.1
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.17
    WooCommerce Subscriptions: by WooCommerce – 3.1.4
    WooCommerce: by Automattic – 5.5.2
    Wordfence Security: by Wordfence – 7.5.4
    Multi-Step Checkout for WooCommerce: by SilkyPress – 2.16
    
    ### Inactive Plugins (2) ###
    
    Rank Math SEO: by Rank Math – 1.0.68.1
    Smush: by WPMU DEV – 3.8.7
    
    ### Must Use Plugins (3) ###
    
    Elementor Safe Mode: by Elementor.com – 1.0.0
    Endurance Page Cache: by Mike Hansen – 2.0.7
    SSO: by Garth Mortensen
    Mike Hansen – 0.3
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: bundle (bundle)
    composite (composite)
    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: ?
    
    ### WC Pages ###
    
    Shop base: #1245 - /shop/
    Cart: #1434 - /cart/
    Checkout: #1436 - /checkout/
    My account: #1478 - /my-account/
    Terms and conditions: #1480 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Hello Elementor
    Version: 2.4.1
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    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: –
    
    ### Subscriptions ###
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://theclientgift.com
    Subscription Statuses: –
    WooCommerce Account Connected: ? Yes
    Active Product Key: ? Yes
    Report Cache Enabled: ? Yes
    Cache Update Failures: ? 0 failure
    
    ### Store Setup ###
    
    Country / State: United States (US) — Colorado
    
    ### Payment Gateway Support ###
    
    WooCommerce Payments: products
    refunds
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions
    tokenization
    add_payment_method
    
    Direct bank transfer: products
    PayPal Checkout: products
    refunds
    subscriptions
    subscription_cancellation
    subscription_reactivation
    subscription_suspension
    multiple_subscriptions
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    subscription_amount_changes
    subscription_date_changes
    
    ### Composite Products ###
    
    Database Version: 8.2.0
    Loopback Test: ?
    Template Overrides: –
    
    ### Product Bundles ###
    
    Database Version: 6.11.1
    Loopback Test: ?
    Template Overrides: –
    
    ### WooCommerce Customer/Order/Coupon Export ###
    
    Automated exports: 0
    Custom formats: 0
    Next export: Not scheduled
    
    ### Action Scheduler ###
    
    Complete: 159
    Oldest: 2021-07-20 17:57:50 +0000
    Newest: 2021-07-23 18:12:04 +0000
    
    Pending: 2
    Oldest: 2021-07-24 02:32:18 +0000
    Newest: 2021-07-24 02:32:18 +0000
    
    ### Status report information ###
    
    Generated at: 2021-07-23 17:40:40 -06:00
    
    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Thank you very much ??

    Please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    We will be able to help you further there!

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved.

    Cheers ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error’ is closed to new replies.