• Resolved coshos

    (@coshos)


    Getting the following error after updating the WooPayment to to v5.6.1 with PHP version 8. Has to downgrade to PHP 7 at the moment

    Deprecated: Return type of WCPay\Core\Server\Response::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-content/plugins/woocommerce-payments/includes/core/server/class-response.php on line 49
    
    Deprecated: Return type of WCPay\Core\Server\Response::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-content/plugins/woocommerce-payments/includes/core/server/class-response.php on line 60
    
    Deprecated: Return type of WCPay\Core\Server\Response::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-content/plugins/woocommerce-payments/includes/core/server/class-response.php on line 70
    
    Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Cookie/Jar.php on line 63
    
    Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Cookie/Jar.php on line 73
    
    Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Cookie/Jar.php on line 89
    
    Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Cookie/Jar.php on line 102
    
    Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Cookie/Jar.php on line 111
    
    Deprecated: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Transport/cURL.php on line 345
    
    Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
    
    Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
    
    Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
    
    Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
    
    Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-content/plugins/woocommerce-payments/includes/core/server/class-response.php:16) in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-admin/includes/misc.php on line 1416
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-content/plugins/woocommerce-payments/includes/core/server/class-response.php:16) in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-includes/functions.php on line 6865
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-content/plugins/woocommerce-payments/includes/core/server/class-response.php:16) in /homepages/39/d894296769/htdocs/clickandbuilds/your-site/wp-admin/admin-header.php on line 9

    Can someone help out please!

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

    (@babylon1999)

    Hello @coshos,

    Depreciated notices shouldn’t break your site, they’re just indicating that something might go wrong in the future so there’s nothing to worry about at the moment.

    That said, may I ask where exactly are you seeing these?

    Also, please attach your site’s system status report so we can try replicating the issue. 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 or in a Gist.

    Hope this helps!

    Thread Starter coshos

    (@coshos)

    WordPress Environment
    
    WordPress address (URL): https://www.sample.co.uk
    Site address (URL): https://www.sample.co.uk
    WC Version: 7.5.1
    REST API Version: ?</img> 7.5.1
    WC Blocks Version: ?</img> 9.6.6
    Action Scheduler Version: ?</img> 3.5.4
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_GB
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 8.1.17
    PHP Post Max Size: 512 MB
    PHP Time Limit: 100
    PHP Max Input Vars: 3000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 10.5.17-MariaDB-1:10.5.17+maria~deb10-log
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 7.5.1
    WC Database Prefix: vVfbEMte
    Total Database Size: 69.09MB
    Database Data Size: 42.58MB
    Database Index Size: 26.51MB
    vVfbEMtewoocommerce_sessions: Data: 4.02MB + Index: 0.14MB + Engine InnoDB
    vVfbEMtewoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtewoocommerce_order_items: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewoocommerce_order_itemmeta: Data: 0.30MB + Index: 0.27MB + Engine InnoDB
    vVfbEMtewoocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtewoocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewoocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteactionscheduler_actions: Data: 1.02MB + Index: 0.72MB + Engine InnoDB
    vVfbEMteactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteactionscheduler_logs: Data: 1.02MB + Index: 0.66MB + Engine InnoDB
    vVfbEMtece4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtece4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtecommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtecomments: Data: 1.52MB + Index: 0.78MB + Engine InnoDB
    vVfbEMtegla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtegla_budget_recommendations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtegla_merchant_issues: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtegla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtegla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtejetpack_waf_blocklog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtelegal_pages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtelinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtelp_popups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_automation_runs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_automation_run_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_scheduled_tasks: Data: 0.17MB + Index: 0.14MB + Engine InnoDB
    vVfbEMtemailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtemailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_subscribers: Data: 0.19MB + Index: 0.27MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_segment: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteoptions: Data: 6.02MB + Index: 0.22MB + Engine InnoDB
    vVfbEMtepostmeta: Data: 13.48MB + Index: 9.70MB + Engine InnoDB
    vVfbEMteposts: Data: 4.47MB + Index: 0.86MB + Engine InnoDB
    vVfbEMterank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMterank_math_analytics_gsc: Data: 6.03MB + Index: 9.61MB + Engine InnoDB
    vVfbEMterank_math_analytics_inspections: Data: 0.14MB + Index: 0.14MB + Engine InnoDB
    vVfbEMterank_math_analytics_objects: Data: 0.14MB + Index: 0.05MB + Engine InnoDB
    vVfbEMterank_math_internal_links: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    vVfbEMterank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMterank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMterank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtetermmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    vVfbEMteterms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    vVfbEMteterm_relationships: Data: 0.11MB + Index: 0.06MB + Engine InnoDB
    vVfbEMteterm_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    vVfbEMteusermeta: Data: 1.47MB + Index: 0.63MB + Engine InnoDB
    vVfbEMteusers: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtewcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtewc_order_stats: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    vVfbEMtewc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    vVfbEMtewc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtexoo_wl_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtexoo_wl_list_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 1959
    cartflows_flow: 1
    cartflows_step: 2
    customize_changeset: 1
    mailpoet_page: 1
    nav_menu_item: 54
    oembed_cache: 6
    page: 11
    post: 1
    product: 353
    product_variation: 61
    revision: 252
    shop_coupon: 348
    shop_order: 1313
    shop_order_refund: 60
    wcpcsu-custom-post: 1
    wp_global_styles: 2
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    Active Plugins (16)
    
    Google Listings and Ads: by WooCommerce – 2.4.1
    IONOS Assistant: by IONOS – 8.5.1
    Jetpack Protect: by Automattic - Jetpack Security team – 1.3.0
    Jetpack: by Automattic – 11.9.1
    Parcel2Go Shipping: by Parcel2Go.com – 1.0.4
    Sales Countdown Timer: by VillaTheme – 1.0.11
    Rank Math SEO: by Rank Math – 1.0.110.2
    Storefront Hamburger Menu: by WooCommerce – 1.2.2
    Trustpilot-reviews: by Trustpilot – 2.5.914
    Waitlist woocommerce( Back in stock notifier ): by – 2.5.2
    WooCommerce Direct Checkout: by QuadLayers – 3.0.4
    WooCommerce Google Analytics Integration: by WooCommerce – 1.6.2
    WooCommerce Payments: by Automattic – 5.6.1
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.4.0
    WooCommerce Shipping & Tax: by WooCommerce – 2.2.4
    WooCommerce: by Automattic – 7.5.1
    
    Inactive Plugins (1)
    
    MailPoet: by MailPoet – 4.9.0
    
    Must Use Plugins (1)
    
    1&1 Product Subdomain: by 1&1 – 1.1.0
    
    Settings
    
    API Enabled: –
    Force SSL: ?</img>
    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: –
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #6 - /shop/
    Basket: #115 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #80 - /terms-of-use/
    
    Theme
    
    Name: Storefront Child Theme
    Version: 1.0.0
    Author URL: https://stuartduff.com
    Child Theme: ?</img>
    Parent Theme Name: Storefront
    Parent Theme Version: 4.2.0
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ?</img>
    
    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: minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ?</img> Next scheduled: 2023-03-23 11:03:36 +00:00
    Options: ?</img>
    Notes: 114
    Onboarding: completed
    
    WooCommerce Payments
    
    Version: 5.6.1
    Connected to WPCOM: Yes
    Blog ID: 200751009
    Account ID: acct_1KFgLI2HEJCEWD49
    
    Action Scheduler
    
    Canceled: 6
    Oldest: 2023-02-23 11:31:55 +0000
    Newest: 2023-02-27 05:45:51 +0000
    
    Complete: 1,852
    Oldest: 2023-02-19 17:35:03 +0000
    Newest: 2023-03-22 13:18:09 +0000
    
    Failed: 113
    Oldest: 2022-01-10 20:48:06 +0000
    Newest: 2023-03-22 09:30:45 +0000
    
    Pending: 4
    Oldest: 2023-03-23 03:00:00 +0000
    Newest: 2023-04-17 00:39:43 +0000
    
    Status report information
    
    Generated at: 2023-03-22 14:04:06 +00:00
    `
    Thread Starter coshos

    (@coshos)

    thank you!

    Roxy

    (@roxannestoltz)

    Hi @coshos ,

    For clarity, are you seeing these on the front end, or backend of your site?

    WooCommerce Payments: by Automattic – 5.6.1

    Can you please try updating WooCommerce Payments to its latest version (5.6.2) and see if this makes any difference?

    Additionally, you do have the option to rollback to a previous PHP version, since you mentioned downgrading your PHP version resolves the issue.

    PHP Version: 8.1.17

    Can you see if this persists on a different PHP 8 version, such as 8.0.0?

    Please ensure that you have a good?backup?of your?full site and database?in place before making any changes to your database version, so that, should something go wrong, you are able to easily restore your site to a functioning state.

    Cheers!

    Thread Starter coshos

    (@coshos)

    maybe I am just looking at the wrong error. I have noticed the following JS error which preventing the checkout page load properly.

    Uncaught (in promise) IntegrationError: In order to create a payment element, you must pass a valid PaymentIntent or SetupIntent client secret when creating the Elements group.

    e.g. stripe.elements({clientSecret: “{{CLIENT_SECRET}}”})
    r https://js.stripe.com/v3/?ver=3.0:1
    n https://js.stripe.com/v3/?ver=3.0:1
    r https://js.stripe.com/v3/?ver=3.0:1
    t https://js.stripe.com/v3/?ver=3.0:1
    qr https://js.stripe.com/v3/?ver=3.0:1
    Yo https://js.stripe.com/v3/?ver=3.0:1
    t https://js.stripe.com/v3/?ver=3.0:1
    create https://js.stripe.com/v3/?ver=3.0:1
    x https://js.stripe.com/v3/?ver=3.0:1
    L https://staging/wp-content/plugins/woocommerce-payments/dist/upe_checkout.js?ver=5.6.2:1

    Saif

    (@babylon1999)

    Hello @coshos,

    Uncaught (in promise) IntegrationError: In order to create a payment element, you must pass a valid PaymentIntent or SetupIntent client secret when creating the Elements group.

    This plugin WooCommerce Direct Checkout might be altering the checkout values before sending them to WooCommerce payments.

    Can you please try disabling it?

    Let us know how it goes!

    Thread Starter coshos

    (@coshos)

    Hello, after deactivating the “WooCommerce Direct Checkout” plugin

    I have still got the following js error

    ?ver=3.0:1 Uncaught (in promise) IntegrationError: In order to create a payment element, you must pass a clientSecret or mode when creating the Elements group.

    e.g. stripe.elements({clientSecret: “{{CLIENT_SECRET}}”})
    at qr (?ver=3.0:1:228294)
    at zo (?ver=3.0:1:271461)
    at new t (?ver=3.0:1:276616)
    at t. (?ver=3.0:1:286544)
    at t.create (?ver=3.0:1:90252)
    at L (upe_checkout.js?ver=5.6.2:1:85989)

    However, this js error only appears with PHP v8 only. Downgarde to php v7 will no longer have this js error

    Hi @coshos

    Thanks for trying Saif’s solution above. I understand that the error still persists even after deactivating the WooCommerce Direct Checkout plugin. Furthermore, this only appears when you are using PHP8, downgrading to PHP7 does not produce this error, correct?

    Can you please try to switch to the default Storefront theme and only WooCommerce and WooCommerce Payments plugins are enabled and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please provide the fatal error logs (if any) under WooCommerce > Status > Logs.

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

    Let us know how it goes!

    Thread Starter coshos

    (@coshos)

    Unfortunately the same error still persists when I de-actived all of plug-ins excepts Woocommerce and WooCommerce Payments. I have also switched back to the default frontstore theme.

    Again the js error appears when switch to PHP 8.

    however, There is no fatal error reported in the log.

    Many thanks

    Saif

    (@babylon1999)

    Hello @coshos,

    I wasn’t able to reproduce the issue with PHP 8.1.17 .

    Seems like we’ll need to take a closer look. Could you please open a ticket about this from WooCommerce.com > MY profile > Support?

    Make sure to include a link to this thread so we know what has been done already.

    Cheers!

    Saif

    (@babylon1999)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error after update to v5.6.1 with PHP version 8’ is closed to new replies.