• Resolved elucidamus

    (@elucidamus)


    I updated to PHP 8.1 a couple of weeks ago. I now see these errors in my “Edit order” page. There are no fatal errors.

    […] indicates redacted path or other PII.

    Warning: Attempt to read property “ID” on bool in /[…]/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 32

    Warning: Attempt to read property “display_name” on bool in /[…]/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 44

    Warning: Attempt to read property “user_login” on bool in /[…]/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 45

    Warning: Trying to access array offset on value of type bool in /[…]/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 46

    Warning: Trying to access array offset on value of type bool in /[…]/wp-content/plugins/woocommerce-services/classes/class-wc-connect-account-settings.php on line 47

    System status report:

    WordPress Environment
    
    WordPress address (URL): [...]
    Site address (URL): [...]
    WC Version: 7.4.1
    REST API Version: ? 7.4.1
    WC Blocks Version: ? 9.4.4
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 8.1.16
    PHP Post Max Size: 128 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    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: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    Database
    
    WC Database Version: 7.4.1
    WC Database Prefix: lBFDkElU
    Total Database Size: 38.76MB
    Database Data Size: 32.56MB
    Database Index Size: 6.20MB
    lBFDkElUwoocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwoocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwoocommerce_order_itemmeta: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    lBFDkElUwoocommerce_tax_rates: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    lBFDkElUwoocommerce_tax_rate_locations: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    lBFDkElUwoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwoocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUactionscheduler_actions: Data: 0.06MB + Index: 0.13MB + Engine InnoDB
    lBFDkElUactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUactionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUcommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUcomments: Data: 0.14MB + Index: 0.09MB + Engine InnoDB
    lBFDkElUlinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUmailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUmailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUnewsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUnewsletter_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUnewsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUnewsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUnewsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUoptions: Data: 5.06MB + Index: 0.14MB + Engine InnoDB
    lBFDkElUpostmeta: Data: 2.42MB + Index: 2.42MB + Engine InnoDB
    lBFDkElUposts: Data: 1.16MB + Index: 0.14MB + Engine InnoDB
    lBFDkElUrsssl_csp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUrsssl_xmlrpc: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUtermmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUterms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUterm_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUterm_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUtm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUtm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUusermeta: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    lBFDkElUusers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lBFDkElUwc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lBFDkElUwc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    lBFDkElUwc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwoocommerce_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwpmailsmtp_emails_log: Data: 19.50MB + Index: 0.17MB + Engine InnoDB
    lBFDkElUwpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwpmlautoresponderemails: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwpmlautoresponders: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwpmlautorespondersforms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlautoresponderslists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlbounces: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlclicks: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwpmlcontents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwpmlcountries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwpmlemails: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    lBFDkElUwpmlfields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lBFDkElUwpmlfieldsforms: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lBFDkElUwpmlfieldslists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlforms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwpmlgroups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwpmlhistoriesattachments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwpmlhistorieslists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlhistory: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwpmllatestposts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmllatestpostssubscriptions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmllinks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwpmlmailinglists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmloptions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwpmlorders: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwpmlposts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlsubscribermetas: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlsubscribers: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    lBFDkElUwpmlsubscriberslists: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    lBFDkElUwpmlsubscribersoptions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lBFDkElUwpmltemplates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUwpmlthemes: Data: 0.17MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUwpmlunsubscribes: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    lBFDkElUwpml_mails: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwt_iew_action_history: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUwt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    lBFDkElUyoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    lBFDkElUyoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    lBFDkElUyoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    lBFDkElUyoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    lBFDkElUyoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 15
    custom_css: 1
    flamingo_contact: 82
    flamingo_inbound: 261
    nav_menu_item: 15
    newsletter: 1
    page: 11
    post: 2
    product: 3
    revision: 15
    shop_coupon: 25
    shop_order: 104
    shop_order_refund: 4
    wp_global_styles: 1
    wpcf7_contact_form: 1
    
    Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    Active Plugins (30)
    
    PublishPress Capabilities: by PublishPress – 2.7.0
    Conditional Fields for Contact Form 7: by Jules Colle – 2.3.4
    Child Theme Generator: by Serafino Corriero – 2.2.7
    Contact Form 7 Extension For Mailchimp: by Renzo Johnson – 0.5.64
    Contact Form 7: by Takayuki Miyoshi – 5.7.4
    Custom Order Numbers for WooCommerce: by Tyche Softwares – 1.4.0
    Donation Thermometer: by Henry Patton – 2.2
    Flamingo: by Takayuki Miyoshi – 2.3
    Health Check & Troubleshooting: by The www.remarpro.com community – 1.5.1
    Jetpack: by Automattic – 11.8.4
    Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.12
    Mailchimp for WooCommerce: by Mailchimp – 2.8
    Order Export & Order Import for WooCommerce: by WebToffee – 2.3.0
    One Click Accessibility: by One Click Accessibility – 2.1.0
    Really Simple SSL Pro: by Really Simple Plugins – 6.2.1
    Really Simple SSL: by Really Simple Plugins – 6.2.0
    Storefront Footer Bar: by WooThemes – 1.0.4
    Storefront Hamburger Menu: by WooCommerce – 1.2.2
    Two Factor Authentication: by David Anderson
    original plugin by Oskar Hane and enhanced by Dee Nutbourne – 1.14.11
    
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 2.22.25.26
    
    WooCommerce Authorize.Net Gateway: by Pledged Plugins – 6.0.0
    WooCommerce Shipping & Tax: by WooCommerce – 2.2.3
    WooCommerce Shipping Per Product v2: by WooCommerce – 2.5.0
    WooCommerce: by Automattic – 7.4.1
    Yoast SEO: by Team Yoast – 20.2
    WP Mail Logging: by SendLayer – 1.10.5
    WP Mail SMTP Pro: by WPForms – 3.7.0
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.12
    
    ReCaptcha v2 for Contact Form 7: by IQComputing – 1.4.3
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.8
    
    Inactive Plugins (2)
    
    Akismet Anti-Spam: by Automattic – 5.0.2
    Change Storefront Footer Copyright Text: by QuadLayers – 2.0.1
    
    Must Use Plugins (2)
    
    1&1 Product Subdomain: by 1&1 – 1.1.0
    Health Check Troubleshooting Mode: by – 1.8.1
    
    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: #26 - /policies/
    
    Theme
    
    Name: Storefrontchild
    Version: 1.0
    Author URL:
    Child Theme: ?
    Parent Theme Name: Storefront
    Parent Theme Version: 4.2.0
    Parent Theme Author URL: https://woocommerce.com/
    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
    new-product-management-experience
    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
    product-variation-management
    settings
    
    Daily Cron: ? Next scheduled: 2023-03-02 01:10:50 -06:00
    Options: ?
    Notes: 75
    Onboarding: completed
    
    Action Scheduler
    
    Complete: 91
    Oldest: 2023-01-31 13:59:27 -0600
    Newest: 2023-02-28 20:25:54 -0600
    
    Failed: 11
    Oldest: 2022-11-01 20:08:23 -0500
    Newest: 2023-02-28 19:06:05 -0600
    
    Pending: 3
    Oldest: 2023-02-28 22:57:13 -0600
    Newest: 2023-03-06 19:15:06 -0600
    
    Status report information
    
    Generated at: 2023-02-28 20:30:59 -06:00
    `
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @elucidamus

    Thanks for reaching out!

    I understand that you are seeing the warning messages above on your Edit Order page after updating your PHP version to 8.1, correct?

    PHP Warnings are errors that are issued when something unexpected or unwanted occurs in code. They are usually triggered because of minor mistakes such as: Referring to a file that does not exist. Wrong or missing arguments for inbuilt function calls.

    Can you please please provide the fatal error logs (if any) under WooCommerce > Status > Logs?

    Plugin Author Waclaw Jacek

    (@waclawjacek)

    Hi @elucidamus!

    Being able to see your status log as @xue28 mentioned would be very helpful. In the meantime, although these notices definitely shouldn’t be triggered, could you please verify if your site is connected via the Jetpack plugin? Sounds like something might be wrong on that front.

    Thanks!

    Thread Starter elucidamus

    (@elucidamus)

    Hi!

    There aren’t any logs to speak of.

    I will double-check Jetpack.

    • This reply was modified 1 year, 9 months ago by elucidamus.
    Thread Starter elucidamus

    (@elucidamus)

    It appears that Jetpack had somehow become disconnected. I reconnected and I no longer see the errors.

    Thanks for your help!

    Hello,

    Glad to hear that.

    I’ll go ahead and tag this thread as resolved.

    This is optional If you have a few minutes, we’d love it if you could share your experience with the community by leaving a review.

    Kind regards.

    Dear Support Team,

    I ran into similar problems with a client website (only two of the warnings).
    After re-connecting Jetpack I now have the exact same warnings as @elucidamus

    Do I also need to connect and account? Or is this enough?

    If required I can provide you with the status logs

    Thanks in advance
    Constantin Ross

    Hi @constantinross

    Thanks for reaching out!

    I understand you are experiencing the same issue and since every site is different and you’re not the person who originally started this topic then, per the forum guidelines, would you please start your own topic?

    Additionally, please include your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    We’ll be more than happy to help there ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 8.1 update, now having errors with this plugin’ is closed to new replies.