• Resolved kaboemnld

    (@kaboemnld)


    Hello,

    I have lots off
    PHP Warning: Trying to access array offset on value of type bool in /home/u74339p145570/domains/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1611,1612,1613,1614,1623

    i don’t know where it came from, we have divi and latest wp version woocommerce 8.5.2

    ` WordPress Environment
    
    WordPress address (URL): 
    Site address (URL): 
    WC Version: 8.5.2
    REST API Version: ? 8.5.2
    WC Blocks Version: ? 11.8.0-dev
    Action Scheduler Version: ? 3.7.1
    Log Directory Writable: ?
    WP Version: 6.4.3
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: ?
    WP Cron: –
    Language: nl_NL
    External object cache: ? Server Environment
    
    Server Info: Apache/2
    PHP Version: 8.0.30
    PHP Post Max Size: 2 GB
    PHP Time Limit: 3000
    PHP Max Input Vars: 4000
    cURL Version: 7.87.0
    OpenSSL/1.1.1w
    
    SUHOSIN Installed: –
    MySQL Version: 10.4.27-MariaDB-cll-lve
    Max Upload Size: 1 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database
    
    WC Database Version: 8.5.2
    WC Database Prefix: wp_
    Total Database Size: 247.74MB
    Database Data Size: 195.42MB
    Database Index Size: 52.32MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.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: 0.13MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 1.16MB + Index: 2.13MB + 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.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + 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: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cartflows_ca_cart_abandonment: Data: 0.34MB + Index: 0.02MB + Engine InnoDB
    wp_cartflows_ca_email_history: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_check_email_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 1.02MB + Index: 0.52MB + Engine InnoDB
    wp_csp3_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_dgwt_wcas_index: Data: 1.19MB + Index: 0.02MB + Engine InnoDB
    wp_dgwt_wcas_invindex_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_dgwt_wcas_invindex_doclist: Data: 2.17MB + Index: 1.81MB + Engine InnoDB
    wp_dgwt_wcas_invindex_wordlist: Data: 0.14MB + Index: 0.08MB + Engine InnoDB
    wp_dgwt_wcas_stats: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_dgwt_wcas_tax_index: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wp_email_customizer_plus_templates: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_et_bloom_stats: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_feedmanager_channel: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_feedmanager_country: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_feedmanager_feed_status: Data: 0.02MB + Index: 0.19MB + Engine InnoDB
    wp_feedmanager_field_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_feedmanager_product_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_feedmanager_product_feedmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_feedmanager_source: Data: 0.02MB + Index: 0.19MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mclean_refs: Data: 7.52MB + Index: 0.00MB + Engine InnoDB
    wp_mclean_scan: Data: 0.42MB + Index: 0.08MB + Engine InnoDB
    wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_offline_giftcard: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 9.22MB + Index: 0.16MB + Engine InnoDB
    wp_postmeta: Data: 141.56MB + Index: 29.56MB + Engine InnoDB
    wp_posts: Data: 14.42MB + Index: 3.02MB + Engine InnoDB
    wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_seopress_significant_keywords: Data: 1.03MB + Index: 0.36MB + Engine InnoDB
    wp_sm_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 1.28MB + Index: 1.28MB + Engine InnoDB
    wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 2.09MB + Index: 1.22MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.11MB + Index: 0.06MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 1.52MB + Index: 1.92MB + Engine InnoDB
    wp_users: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_wccs_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wccs_condition_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcpdf_invoice_number_2022: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wcpdf_invoice_number_2023: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcsc_error_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcsc_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: 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_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.27MB + Index: 0.22MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 1.27MB + Index: 0.69MB + 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_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdr_order_item_discounts: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_webwinkelkeur_invite_error: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woobe_history: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    wp_woobe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woo_delete_old_ids: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    wp_woo_delete_old_orders: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    wp_wpf_filters: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wpf_meta_data: Data: 1.52MB + Index: 3.31MB + Engine InnoDB
    wp_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpf_meta_values: Data: 0.02MB + Index: 1.50MB + Engine InnoDB
    wp_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpf_statistics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpf_statistics_det: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpf_statistics_sum: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpf_statistics_val: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpie_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmelon_advbedit_temp: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_wpr_rocket_cache: Data: 0.25MB + Index: 1.30MB + Engine InnoDB
    wp_wpr_rucss_used_css: Data: 1.50MB + Index: 0.58MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp__wc_export_mr_field_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp__wc_export_mr_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts
    
    attachment: 3975
    br_product_tab: 1
    custom_css: 5
    divi_mega_pro: 1
    et_body_layout: 37
    et_footer_layout: 1
    et_pb_layout: 153
    et_tb_item: 100
    et_template: 76
    et_theme_builder: 1
    giftcard: 11
    google_marchant_feed: 1
    google_shopping_feed: 1
    nav_menu_item: 73
    page: 84
    post: 3
    product: 1214
    product-feed: 17
    product_variation: 2638
    revision: 201
    seopress_404: 322
    seopress_backlinks: 64
    seopress_p1_rankings: 388
    seopress_rankings: 136
    seopress_schemas: 2
    shop_coupon: 267
    shop_order: 311
    shop_order_refund: 53
    sidebar: 1
    tt_font_control: 2
    voucher_template: 1
    wcbd_archive_layout: 43
    wcps: 1
    woo_product_tab: 2 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (24)
    
    FiboSearch - AJAX Search for WooCommerce (Pro): by FiboSearch Team – 1.27.1
    Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.1
    Disable Cart Fragments: by Optimocha – 2.3
    Disable Bloat for WordPress & WooCommerce: by Disable Bloat – 3.4.5
    Mollie Payments for WooCommerce: by Mollie – 7.5.1
    Redis Object Cache: by Till Krüss – 2.5.0
    Shortcode in Menus: by Gagan Deep Singh – 3.5.1
    Converter for Media: by matt plugins – 5.12.1
    BEAR – Bulk Editor and Products Manager Professional for WooCommerce: by realmag777 – 2.1.4.2
    WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.26
    Variation Swatches for WooCommerce - Pro: by Emran Ahmed – 2.0.30
    Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.30
    WooCommerce Email Customizer Plus: by Flycart – 2.0.0
    MyParcel: by MyParcel – 4.22.1
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.7.7
    Woocommerce Side Cart Premium: by XootiX – 4.0.4
    WooCommerce Ultimate Gift Card: by WP Swings – 2.8.8
    WooCommerce: by Automattic – 8.5.2 (update to version 8.6.0 is available)
    Asset CleanUp Pro: Page Speed Booster: by Gabe Livan – 1.2.4.8
    WooCommerce Google Feed Manager: by WP Marketing Robot – 3.3.0
    WP Rocket: by WP Media – 3.15.9
    SEOPress PRO: by The SEO Guys at SEOPress – 7.4.1
    SEOPress: by The SEO Guys at SEOPress – 7.4
    YITH Infinite Scrolling Premium: by YITH – 1.27.0 Inactive Plugins (13)
    
    Advanced Database Cleaner PRO: by Younes JFR. – 3.2.8
    Bloom: by Elegant Themes – 1.3.12
    Database Cleaner: Clean, Optimize & Repair (Pro): by Jordy Meow – 1.0.3
    Facebook for WooCommerce: by Facebook – 3.1.10
    Loco Translate: by Tim Whitlock – 2.6.6
    Media Cleaner (Pro): by Jordy Meow – 6.7.0
    Media File Renamer: Rename Files (Manual, Auto & AI) (Pro): by Jordy Meow – 5.6.6
    Product Filter by WBW: by WBW – 2.5.3
    Query Monitor: by John Blackbourn – 3.15.0
    Return Refund and Exchange for WooCommerce: by WP Swings – 4.3.5
    RMA Return Refund & Exchange for WooCommerce Pro: by WP Swings – 5.3.5
    WBW Product Filter PRO: by WBW – 2.5.3
    WooCommerce Advanced Bulk Edit: by George Iron & Yas G. – 5.3.6.2 Dropin Plugins (2)
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Redis Object Cache Drop-In Must Use Plugins (2)
    
    Asset CleanUp Pro: Plugin Filtering: by Gabriel Livan – 1.0
    installatron_hide_status_test.php: by – 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)
    pw gift card (pw-gift-card)
    simple (simple)
    variable (variable)
    wgm_gift_card (wgm_gift_card)
    
    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: #987495466 - /alle-trendy-dameskleding/
    Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.
    My account: #1474 - /mijn-account/
    Terms and conditions: #1468 -
    Name: 
    Version: 1.1
    Author URL: https://www.elegantthemes.com
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.23.4
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ? Templates
    
    Overrides: – 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
    product-external-affiliate
    product-grouped
    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-linked
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2024-02-20 04:20:15 +01:00
    Options: ?
    Notes: 25
    Onboarding: completed Action Scheduler
    
    Complete: 126
    Oldest: 2024-02-19 04:10:35 +0100
    Newest: 2024-02-19 15:19:59 +0100
    
    Pending: 4
    Oldest: 2024-02-19 15:20:59 +0100
    Newest: 2025-01-01 00:00:01 +0100 Status report information
    
    Generated at: 2024-02-19 15:20:34 +01:00
    `
Viewing 1 replies (of 1 total)
  • Hey there, @kaboemnld! Thanks for contacting us. I’m happy to help you.

    The warning you’re encountering seems to be related to accessing an array offset on a boolean value in the WooCommerce template functions file.

    If you’ve made any customizations to WooCommerce templates or added custom code, review those changes to see if they could be causing the warning. Sometimes, customizations can inadvertently trigger warnings if they conflict with WooCommerce core functionality.

    This could also be caused by theme or plugin conflict.

    To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.

    If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.

    — Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    — Also, you can consider using a plugin like Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it is helpful to disable plugins without affecting your current site visitors.

    — It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.

    You can find more about this in this guide.

    Please let us know about your findings.

    Looking forward to your reply.

    Have a wonderful day!

Viewing 1 replies (of 1 total)
  • The topic ‘wc-template debug log’ is closed to new replies.