• Resolved Ainsley Clark

    (@ainsleyclark)


    Hi there,

    Upgrading from PHP 7.4 to 8.3 has broken the checkout on a website I manage. It hard exits when trying to render the checkout and stops executing. Unfortunately there is no error message even with DEBUG turned on. However I did get this from Sentry which I believe to be the issue (although I cannot say for certain).

    WooCommerce\PayPalCommerce\Button\Endpoint\SimulateCartEndpoint::__construct(): 
    Argument #1 ($smart_button) must be of type 
    WooCommerce\PayPalCommerce\Button\Assets\SmartButton, 
    WooCommerce\PayPalCommerce\Button\Assets\DisabledSmartButton given, 
    called in /var/www/decspets.ie/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/services.php on line 172

    Steps I have taken to resolve the issue:

    • Disabled all other plugins and checked for conflicts.
    • Deleted the plugin and re-installed it again.
    • Changed to Storefront.
    • Removed and reseated the Smart Button locations.

    The issue persists, and I believe this to be an issue directly with the core of the plugin. The button renders fine on the cart pages which is strange.

    Sentry Issue

    System Report:

    ### WordPress Environment ###
    
    WordPress address (URL): https://decspets.ie
    Site address (URL): https://decspets.ie
    WC Version: 8.4.0
    REST API Version: ✔ 8.4.0
    WC Blocks Version: ✔ 11.6.2
    Action Scheduler Version: ✔ 3.7.0
    Log Directory Writable: ✔
    WP Version: 6.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.18.0
    PHP Version: 8.3.1
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.81.0
    OpenSSL/3.0.2
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.35-0ubuntu0.22.04.1
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 8.4.0
    WC Database Prefix: wp_
    Total Database Size: 399.30MB
    Database Data Size: 256.93MB
    Database Index Size: 142.37MB
    wp_woocommerce_sessions: Data: 18.02MB + Index: 3.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: 2.52MB + Index: 1.52MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 16.55MB + Index: 13.03MB + 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.08MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.17MB + Index: 0.20MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 4.02MB + Index: 4.39MB + 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: 3.02MB + Index: 3.03MB + Engine InnoDB
    wp_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 19.55MB + Index: 16.09MB + Engine InnoDB
    wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mclean_refs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 16.28MB + Index: 5.11MB + Engine InnoDB
    wp_postmeta: Data: 109.56MB + Index: 69.09MB + Engine InnoDB
    wp_posts: Data: 10.52MB + Index: 5.86MB + Engine InnoDB
    wp_social_users: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sp_email_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_relationships: Data: 1.20MB + Index: 0.45MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.34MB + Index: 0.31MB + Engine InnoDB
    wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 4.52MB + Index: 5.02MB + Engine InnoDB
    wp_users: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 1.52MB + Index: 0.55MB + Engine InnoDB
    wp_wc_cvo_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.13MB + Index: 0.16MB + Engine InnoDB
    wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 2.52MB + Index: 1.61MB + Engine InnoDB
    wp_wc_order_stats: Data: 1.52MB + Index: 0.72MB + Engine InnoDB
    wp_wc_order_tax_lookup: 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.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.52MB + Index: 0.89MB + 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_wcs_payment_retries: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 2.28MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 16.55MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 2.02MB + Index: 0.25MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 7.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 1.02MB + Index: 0.16MB + 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_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.22MB + Index: 0.13MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_prl_deploymentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_prl_deployments: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_prl_frequencies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_prl_generator_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_prl_tracking_conversions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmelon_advbedit_temp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 9.52MB + Index: 7.33MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 1.31MB + Index: 1.11MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.14MB + Index: 0.17MB + Engine InnoDB
    wp_yoast_prominent_words: Data: 0.22MB + Index: 0.25MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.27MB + Index: 0.23MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 390
    acf-field-group: 25
    attachment: 6864
    aw_workflow: 4
    blocks: 5
    cookielawinfo: 6
    custom_css: 1
    customize_changeset: 1
    forms: 239
    lshowcase: 7
    nav_menu_item: 107
    news: 41
    oembed_cache: 67
    page: 20
    post: 4
    prl_engine: 5
    product: 2799
    product_variation: 2377
    revision: 640
    services: 3
    shop_coupon: 459
    shop_order: 12258
    shop_order_refund: 269
    shop_subscription: 244
    social: 10
    team: 9
    wp_global_styles: 1
    wpautoterms_page: 3
    wpcf7_contact_form: 1
    wpl_lcp_shortcodes: 1
    wpl_logo_carousel: 6
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (33) ###
    
    Woocommerce BOIPA: by  – 1.1.0
    ACF Content Analysis for Yoast SEO: by Thomas Kräftner
    ViktorFroberg
    marol87
    pekz0r
    angrycreative
    Team Yoast – 3.1
    
    Advanced Custom Fields PRO: by WP Engine – 6.2.4
    Classic Editor: by WordPress Contributors – 1.6.3
    Crisp: by Crisp – 0.43
    Currency Switcher for WooCommerce: by WP Wham – 2.15.2
    Enhancer for WooCommerce Subscriptions: by Flintop – 4.2.0
    Facebook for WooCommerce: by Facebook – 3.1.6
    Hide Categories and Products for Woocommerce: by N.O.U.S. Open Useful and Simple – 1.2.9
    Jetpack: by Automattic – 12.9.3
    Klarna Order Management for WooCommerce: by klarna
    krokedil – 1.9.0
    
    Klarna Payments for WooCommerce: by krokedil
    klarna
    automattic – 3.2.4
    
    Klaviyo: by Klaviyo
    Inc. – 3.3.3
    
    NitroPack: by NitroPack Inc. – 1.10.4
    Permalink Manager for WooCommerce: by BeRocket – 1.0.8.1
    Post Types Order: by Nsp Code – 2.1.2
    SparkPost: by SparkPost – 3.2.6
    Trustpilot-reviews: by Trustpilot – 2.5.925
    Advance Ecommerce Tracking: by theDotstore – 3.7.2
    Payment Gateway for PayPal on WooCommerce: by easypayment – 7.2.0
    WooCommerce Advanced Bulk Edit: by George Iron – 4.5
    WooCommerce All Products For Subscriptions: by WooCommerce – 4.1.4
    WooCommerce Extended Coupon Features FREE: by Soft79 – 3.3.3
    WooCommerce Stripe Gateway: by WooCommerce – 7.8.1
    WooCommerce Google Analytics Integration: by WooCommerce – 1.8.12
    WooCommerce Google Ads Dynamic Remarketing: by SweetCode – 1.8.2
    WooCommerce PayPal Payments: by WooCommerce – 2.4.2
    WooCommerce Product Recommendations: by WooCommerce – 3.0.4
    WooCommerce Raneri Free Shipping: by Raneri Web Design Snc – 1.49
    Woo Subscriptions: by WooCommerce – 5.8.0
    WooCommerce: by Automattic – 8.4.0
    Wordfence Security: by Wordfence – 7.11.0
    WordPress Sentry: by Alex Bouma – 7.2.1
    
    ### Inactive Plugins (3) ###
    
    Mailchimp for WooCommerce: by Mailchimp – 3.5
    Media Cleaner (Pro): by Jordy Meow – 6.2.8
    Yoast SEO Premium: by Team Yoast – 15.2
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    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 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: #13069 - /shop/
    Basket: #13072 - /cart/
    Checkout: #13 - /checkout/
    My account: #14 - /my-account/
    Terms and conditions: #13073 - /terms-conditions/
    
    ### Theme ###
    
    Name: Dec's Pets 2022 Theme
    Version: 1
    Author URL: https://ainsleyclark.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: decspets2022/woocommerce/archive-product.php
    decspets2022/woocommerce/cart/cart-empty.php
    decspets2022/woocommerce/cart/cart-item-data.php
    decspets2022/woocommerce/cart/cart-shipping.php version 3.6.0 is out of date. The core version is 7.3.0
    decspets2022/woocommerce/cart/cart-totals.php
    decspets2022/woocommerce/cart/cart.php version 7.0.1 is out of date. The core version is 7.9.0
    decspets2022/woocommerce/cart/proceed-to-checkout-button.php
    decspets2022/woocommerce/cart/shipping-calculator.php
    decspets2022/woocommerce/checkout/cart-errors.php
    decspets2022/woocommerce/checkout/form-billing.php
    decspets2022/woocommerce/checkout/form-checkout.php
    decspets2022/woocommerce/checkout/form-coupon.php
    decspets2022/woocommerce/checkout/form-login.php
    decspets2022/woocommerce/checkout/form-shipping.php
    decspets2022/woocommerce/checkout/order-receipt.php
    decspets2022/woocommerce/checkout/payment-method.php
    decspets2022/woocommerce/checkout/payment.php version 7.0.1 is out of date. The core version is 8.1.0
    decspets2022/woocommerce/checkout/review-order.php
    decspets2022/woocommerce/checkout/terms.php
    decspets2022/woocommerce/checkout/thankyou.php version 3.7.0 is out of date. The core version is 8.1.0
    decspets2022/woocommerce/content-product-cat.php
    decspets2022/woocommerce/content-product.php
    decspets2022/woocommerce/content-single-product.php
    decspets2022/woocommerce/content-widget-price-filter.php
    decspets2022/woocommerce/emails/email-footer.php version 3.7.0 is out of date. The core version is 7.4.0
    decspets2022/woocommerce/global/form-login.php
    decspets2022/woocommerce/global/quantity-input.php version 4.0.0 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/global/wrapper-end.php
    decspets2022/woocommerce/global/wrapper-start.php
    decspets2022/woocommerce/loop/loop-end.php
    decspets2022/woocommerce/loop/loop-start.php
    decspets2022/woocommerce/loop/no-products-found.php version 2.0.0 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/loop/orderby.php
    decspets2022/woocommerce/loop/pagination.php
    decspets2022/woocommerce/loop/result-count.php
    decspets2022/woocommerce/myaccount/dashboard.php
    decspets2022/woocommerce/myaccount/form-add-payment-method.php version 7.0.1 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/myaccount/form-edit-account.php
    decspets2022/woocommerce/myaccount/form-edit-address.php
    decspets2022/woocommerce/myaccount/form-login.php
    decspets2022/woocommerce/myaccount/form-lost-password.php
    decspets2022/woocommerce/myaccount/form-reset-password.php
    decspets2022/woocommerce/myaccount/my-account.php
    decspets2022/woocommerce/myaccount/my-address.php
    decspets2022/woocommerce/myaccount/navigation.php
    decspets2022/woocommerce/myaccount/orders.php version 7.0.1 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/myaccount/payment-methods.php version 4.4.0 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/myaccount/view-order.php
    decspets2022/woocommerce/notices/error.php
    decspets2022/woocommerce/notices/notice.php
    decspets2022/woocommerce/notices/success.php
    decspets2022/woocommerce/order/order-again.php version 3.5.0 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/order/order-details-customer.php
    decspets2022/woocommerce/order/order-details.php version 4.6.0 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/single-product/add-to-cart/external.php
    decspets2022/woocommerce/single-product/add-to-cart/simple.php
    decspets2022/woocommerce/single-product/add-to-cart/variable.php
    decspets2022/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    decspets2022/woocommerce/single-product/meta.php
    decspets2022/woocommerce/single-product/price.php
    decspets2022/woocommerce/single-product/product-attributes.php
    decspets2022/woocommerce/single-product/product-image.php version 3.5.1 is out of date. The core version is 7.8.0
    decspets2022/woocommerce/single-product/rating.php
    decspets2022/woocommerce/single-product/related.php
    decspets2022/woocommerce/single-product/short-description.php
    decspets2022/woocommerce/single-product/tabs/additional-information.php
    decspets2022/woocommerce/single-product/tabs/description.php
    decspets2022/woocommerce/single-product/tabs/tabs.php
    decspets2022/woocommerce/single-product/title.php
    
    Outdated Templates: ❌
    					
    					
    						Learn how to update
    
    ### Subscriptions ###
    
    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    Subscriptions Live URL: https://decspets.ie
    Subscriptions-core Library Version: 6.6.0
    Subscriptions Template Theme Overrides: decspets2022/woocommerce/cart/cart-recurring-shipping.php
    decspets2022/woocommerce/myaccount/my-subscriptions.php
    decspets2022/woocommerce/myaccount/related-orders.php
    decspets2022/woocommerce/myaccount/related-subscriptions.php
    decspets2022/woocommerce/myaccount/subscription-details.php
    decspets2022/woocommerce/myaccount/subscription-totals-table.php
    decspets2022/woocommerce/myaccount/subscription-totals.php
    decspets2022/woocommerce/myaccount/subscriptions.php
    decspets2022/woocommerce/myaccount/view-subscription.php
    decspets2022/woocommerce/single-product/add-to-cart/subscription.php
    decspets2022/woocommerce/single-product/add-to-cart/variable-subscription.php
    
    Subscription Statuses: wc-active: 78
    wc-pending-cancel: 7
    wc-pending: 2
    wc-on-hold: 20
    wc-cancelled: 137
    
    WooCommerce Account Connected: ✔ Yes
    Active Product Key: ✔ Yes
    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: Ireland — Wexford
    
    ### Subscriptions by Payment Gateway ###
    
    Stripe: wc-active: 78
    wc-cancelled: 132
    wc-on-hold: 20
    wc-pending-cancel: 6
    
    other: wc-cancelled: 2
    Klarna Payments: wc-cancelled: 3
    wc-pending-cancel: 1
    
    
    ### Payment Gateway Support ###
    
    Stripe: products
    refunds
    tokenization
    add_payment_method
    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
    
    PayPal: refunds
    products
    
    Klarna Payments: products
    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
    refunds
    
    
    ### Currency Switcher Settings ###
    
    WooCommerce Currency Switcher Plugin: 
    Currency switcher on per product basis: 
    Revert to shop's default currency on checkout: 
    Apply currency conversion to fixed amount coupons: 
    Add currency selector for fixed amount coupons: 
    Apply currency conversion to shipping amount: 
    Apply currency conversion to minimum order amount required for free shipping: 
    Apply currency conversion to cart fees: 
    Apply currency conversion to WooCommerce Price Filter Widget: 
    Switcher placement: 
    Switcher wrapper: 
    Switcher item format: 
    Link list switcher separator: 
    Reposition page after currency switch: 
    Rounding: 
    Number of decimals: 
    Make "pretty price": 
    Apply rounding and "pretty price" to shipping rates: 
    Apply rounding and "pretty price" to shop's default currency: 
    Order currency: 
    Format price: 
    Currencies: 
    Currency (shop's default): [EUR] Euro
    Total additional currencies: 2
    Additional currency #1: yes
    alg_currency_switcher_currency_1: EUR
    Additional currency #2: yes
    alg_currency_switcher_currency_2: GBP
    Exchange Rates: 
    Exchange rates updates: twicedaily
    Exchange rates server: ecb
    Free Currency Converter API Key: not set
    CoinMarketCap API Key: 
    Exchange rates offset: 0
    #2 EUR/GBP (Pound sterling): 0.86905000
    alg_currency_switcher_exchange_rate_server_EUR_GBP: default
    alg_currency_switcher_exchange_rate_offset_type_EUR_GBP: default
    percent: 0
    Currency Countries (by IP): 
    Currency Countries (by IP): no
    Enter countries as comma separated text: no
    Override country: disabled
    #1 [EUR] Euro: Array
    (
        [0] => AD
        [1] => AT
        [2] => BE
        [3] => CY
        [4] => EE
        [5] => FI
        [6] => FR
        [7] => GF
        [8] => TF
        [9] => DE
        [10] => GR
        [11] => GP
        [12] => IE
        [13] => IT
        [14] => LV
        [15] => LT
        [16] => LU
        [17] => MT
        [18] => MQ
        [19] => YT
        [20] => MC
        [21] => ME
        [22] => NL
        [23] => PT
        [24] => RE
        [25] => PM
        [26] => SM
        [27] => SK
        [28] => SI
        [29] => ES
    )
    #2 [GBP] Pound sterling: Array
    (
        [0] => IM
        [1] => JE
        [2] => GS
        [3] => GB
    )
    Currency Languages (Locales): 
    Currency Languages (Locales): 
    Enter locales as comma separated text: 
    Always use locale to assign currency: 
    #1 [EUR] Euro: Array
    (
        [0] => 
    )
    #2 [GBP] Pound sterling: Array
    (
        [0] => 
    )
    Price Formats: 
    #0 [EUR] Euro: left
    Additional currency code position (optional): 
    Thousand separator: ,
    Decimal separator: .
    Number of decimals: 2
    Currency Symbol: 
    #1 [EUR] Euro: 
    Additional currency code position (optional): 
    Thousand separator: 
    Decimal separator: 
    Number of decimals: 
    Currency Symbol: 
    #2 [GBP] Pound sterling: 
    Additional currency code position (optional): 
    Thousand separator: 
    Decimal separator: 
    Number of decimals: 
    Currency Symbol: 
    Flags: 
    #0 [EUR] Euro: 
    #2 [GBP] Pound sterling: 
    Price conversion method: 
    Fix mini cart: 
    Disable on URI: 
    Additional price filters: 
    Price filters to remove: 
    Session save path: 
    
    ### Klarna Payments Request Log ###
    
    2023-02-17 10:09:00: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-17 10:08:58: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-17 10:08:57: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-17 10:08:57: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 13:57:51: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 13:57:49: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 13:57:49: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 13:57:48: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 12:42:26: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 12:42:07: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 12:42:07: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-16 12:42:07: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-14 16:36:19: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-14 16:36:00: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    2023-02-14 16:34:50: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
    Correlation ID:
    
    
    ### Klarna Countries ###
    
    Production Countries: IE
    Test Countries: No countries selected
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ✔
    Shop country code: IE
    WooCommerce currency supported: ✔
    Advanced Card Processing available in country: –
    Pay Later messaging available in country: –
    Webhook status: –
    PayPal Vault enabled: –
    ACDC Vault enabled: –
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: ✔
    Subscriptions Mode: PayPal Vaulting
    
    ### 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
    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-external-affiliate
    settings
    async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-12-30 09:01:19 +00:00
    Options: ✔
    Notes: 64
    Onboarding: completed
    
    ### All Products for WooCommerce Subscriptions ###
    
    Template Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 8,741
    Oldest: 2023-11-29 20:29:19 +0000
    Newest: 2023-12-30 20:13:20 +0000
    
    Failed: 26
    Oldest: 2021-11-04 15:53:52 +0000
    Newest: 2023-12-30 19:42:36 +0000
    
    Pending: 159
    Oldest: 2023-12-31 09:50:18 +0000
    Newest: 2024-03-14 06:40:31 +0000
    
    
    ### Product Recommendations ###
    
    Database Version: 3.0.4
    Loopback Test: ✔
    Task Queueing Test: ✔
    Page Cache Test: No cache detected
    
    ### Status report information ###
    
    Generated at: 2023-12-30 20:51:08 +00:00

    • This topic was modified 2 years, 7 months ago by Ainsley Clark.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @ainsleyclark

    I have consulted with the rest of our team regarding this matter. Although we tested the plugin with PHP 8.3 and didn’t encounter any issues, it’s important to note that PHP 8.3 is not yet officially supported by our plugin. We haven’t conducted in-depth tests for this version of PHP yet. Generally, we wouldn’t expect major compatibility issues, but as your case illustrates, unexpected behavior can occur.

    The error you’ve described does not seem directly related to PHP 8.3. However, given that you and others have reported this issue, we’ve created an internal ticket to investigate further. In the meantime, we recommend trying out the 2.4.3-rc2 version of the plugin, which you can download from here. Please install this version to see if it resolves the issue on your site.

    Any additional information you can provide about how to reproduce the error would be extremely helpful and could expedite the resolution process.

    Kind regards,
    Krystian

    Thread Starter Ainsley Clark

    (@ainsleyclark)

    Hi @inpsydekrystian

    Thanks for getting back to me.

    I have tried using the rc2 version of this plugin to no avail. I think the rc2 fixes the variable product (I believe) but it’s broken with any product specifically on the checkout.

    Looking forward to hearing from you,

    Ainsley.

    Thread Starter Ainsley Clark

    (@ainsleyclark)

    Hi @inpsydekrystian would you mind providing me with other relevant tickets that have reported similar problems? I would like to see if there are any other resolutions if at all possible as it’s affecting our prod traffic.

    I have also noticed some other errors in debug.log

    PHP Fatal error: Uncaught TypeError: WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource::name(): Return value must be of type string, null returned in /var/www/decspets.ie/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/PaymentSource.php:50

    /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/ContextTrait.php(182): WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource->name()

    • This reply was modified 2 years, 7 months ago by Ainsley Clark.
    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @ainsleyclark

    I have reviewed our records and found a similar reported issue, which you can view here: WooCommerce PayPal Payments Issue #1916.

    As you can see, it’s not the same as your case, but the error codes are identical. From what I can see, the bug request related to your problem is already being analyzed by the developers. We hope it will be fixed in version 2.5.0. I will make sure to keep you updated on any developments or updates related to this issue.

    In the meantime, if you encounter any further issues or have additional questions, please do not hesitate to contact us.

    Kind Regards,

    Krystian

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @ainsleyclark

    We have created a fixing package that can help alleviate the problem encountered. You can download it at the following link: PCP-2520-woocommerce-paypal-payments.zip. We recommend you install this update and see if it resolves the issues you’re encountering.

    Please do not hesitate to inform us if the issue persists after installation, or if you have any other queries.

    Kind Regards,

    Krystian

    • This reply was modified 2 years, 7 months ago by Krystian Syde.
    Thread Starter Ainsley Clark

    (@ainsleyclark)

    Hi there,

    Still no luck unfortunately. No log output or error message whatsoever, its like it just hard exits

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @ainsleyclark

    Now I would recommend that you open a ticket with our service desk so that we can investigate this matter in detail. You can request support by following this link: Request Support. When submitting your ticket, please include the URL of this thread so that we have all the relevant context.

    Kind Regards,

    Krystian

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

The topic ‘Broken on Checkout – Smart Button’ is closed to new replies.