PHP Errors : Undefined offset: 0
-
Hi, I got PHP Errors in my site, PHP ver is 7.4 and lates woocomerce version 9.5.1
I find this with query monitor plugin
Would you please tell me how can I solved this?
Undefined offset: 0
wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php:78
WC_Tracks::get_role_details()
wp-content/plugins/woocommerce/includes/tracks/class-wc-site-tracking.php:71
WC_Site_Tracking::add_tracking_function()
wp-includes/class-wp-hook.php:324
do_action('admin_footer')
wp-admin/admin-footer.php:78
-
Hi there!
I understand your concern. For testing purposes, could you please try updating the PHP version to 8.x and check if you still encounter that error log? This will help us determine whether the error is related to the PHP version or if there is some code on your site causing the problem.
Additionally, I recommend creating a staging site and running a conflict test by deactivating all plugins except WooCommerce. Then, check if the issue persists. For detailed instructions on how to perform a conflict test, you can refer to this article:
How to Test for Plugin and Theme ConflictsIf you still face the same error even after deactivating the all plugins. I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
- System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
- Fatal error logs (if any) under WooCommerce > Status > Logs.
Once we have more information, we’ll be able to assist you further.
HI
I update the PHP to 8.3 and still the error there
<br>### WordPress Environment ###<br><br>WordPress address (URL): https://example.com<br>Site address (URL): https://example.com<br>WC Version: 9.5.1<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ✔ 3.9.0<br>Log Directory Writable: ✔<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 1 GB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: fa_IR<br>External object cache: –<br><br>### Server Environment ###<br><br>Server Info: LiteSpeed<br>PHP Version: 8.3.14<br>PHP Post Max Size: 80 MB<br>PHP Time Limit: 300<br>PHP Max Input Vars: 10000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k<br><br>SUHOSIN Installed: –<br>MySQL Version: 8.0.34<br>Max Upload Size: 80 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔<br><br>### Database ###<br><br>WC Database Version: 9.5.1<br>WC Database Prefix: kwpa_<br>Total Database Size: 1351.84MB<br>Database Data Size: 784.96MB<br>Database Index Size: 566.88MB<br>kwpa_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_woocommerce_attribute_taxonomies: Data: 0.09MB + Index: 0.05MB + Engine InnoDB<br>kwpa_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>kwpa_woocommerce_order_items: Data: 4.52MB + Index: 1.52MB + Engine InnoDB<br>kwpa_woocommerce_order_itemmeta: Data: 21.56MB + Index: 23.06MB + Engine InnoDB<br>kwpa_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>kwpa_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>kwpa_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_actionscheduler_actions: Data: 1.03MB + Index: 0.13MB + Engine InnoDB<br>kwpa_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_actionscheduler_logs: Data: 14.52MB + Index: 8.03MB + Engine InnoDB<br>kwpa_aiowps_audit_log: Data: 9.52MB + Index: 0.39MB + Engine InnoDB<br>kwpa_aiowps_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_aiowps_events: Data: 24.56MB + Index: 0.00MB + Engine InnoDB<br>kwpa_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_aiowps_logged_in_users: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>kwpa_aiowps_login_lockdown: Data: 1.52MB + Index: 0.05MB + Engine InnoDB<br>kwpa_aiowps_message_store: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_aiowps_permanent_block: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_commentmeta: Data: 1.52MB + Index: 1.94MB + Engine InnoDB<br>kwpa_comments: Data: 24.56MB + Index: 17.09MB + Engine InnoDB<br>kwpa_cron_sms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_anchors: Data: 2.52MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_archive: Data: 1.52MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_autolinks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_category: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_hits: Data: 0.50MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_http_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_juice: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_daim_term_group: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB<br>kwpa_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>kwpa_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_litespeed_crawler: Data: 1.52MB + Index: 1.63MB + Engine InnoDB<br>kwpa_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_litespeed_url: Data: 0.36MB + Index: 0.48MB + Engine InnoDB<br>kwpa_litespeed_url_file: Data: 0.39MB + Index: 1.28MB + Engine InnoDB<br>kwpa_options: Data: 9.41MB + Index: 3.70MB + Engine InnoDB<br>kwpa_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB<br>kwpa_pmxe_posts: Data: 0.36MB + Index: 0.00MB + Engine InnoDB<br>kwpa_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_postmeta: Data: 285.84MB + Index: 175.52MB + Engine InnoDB<br>kwpa_posts: Data: 42.56MB + Index: 17.13MB + Engine InnoDB<br>kwpa_rank_math_404_logs: Data: 81.63MB + Index: 56.00MB + Engine InnoDB<br>kwpa_rank_math_internal_links: Data: 2.52MB + Index: 1.52MB + Engine InnoDB<br>kwpa_rank_math_internal_meta: Data: 0.38MB + Index: 0.00MB + Engine InnoDB<br>kwpa_rank_math_redirections: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>kwpa_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_rsssl_csp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_rsssl_xmlrpc: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_rtl_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_stock_log: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>kwpa_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_term_relationships: Data: 5.52MB + Index: 4.52MB + Engine InnoDB<br>kwpa_term_taxonomy: Data: 1.52MB + Index: 0.81MB + Engine InnoDB<br>kwpa_termmeta: Data: 2.52MB + Index: 4.03MB + Engine InnoDB<br>kwpa_terms: Data: 1.52MB + Index: 2.00MB + Engine InnoDB<br>kwpa_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_ualp_user_activity: Data: 14.52MB + Index: 0.00MB + Engine InnoDB<br>kwpa_usermeta: Data: 39.58MB + Index: 43.13MB + Engine InnoDB<br>kwpa_useronline: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_users: Data: 2.52MB + Index: 4.55MB + Engine InnoDB<br>kwpa_userscopy: Data: 1.52MB + Index: 1.17MB + Engine InnoDB<br>kwpa_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wc_customer_lookup: Data: 2.52MB + Index: 2.00MB + Engine InnoDB<br>kwpa_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>kwpa_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_wc_order_product_lookup: Data: 2.52MB + Index: 2.59MB + Engine InnoDB<br>kwpa_wc_order_stats: Data: 2.52MB + Index: 3.45MB + Engine InnoDB<br>kwpa_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>kwpa_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_wc_product_attributes_lookup: Data: 5.55MB + Index: 8.55MB + Engine InnoDB<br>kwpa_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_wc_product_meta_lookup: Data: 1.52MB + Index: 1.98MB + Engine InnoDB<br>kwpa_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_woo_wallet_transaction_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>kwpa_woo_wallet_transactions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_woocommerce_ir: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_woocommerce_ir_sms_archive: Data: 7.52MB + Index: 0.00MB + Engine InnoDB<br>kwpa_woocommerce_ir_sms_contacts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_woodmart_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>kwpa_woodmart_wishlists: Data: 0.38MB + Index: 0.00MB + Engine InnoDBnnoDB<br>kwpa_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>kwpa_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>kwpa_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wpie_template: Data: 4.52MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wpmelon_advbedit_temp: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wpyarud_verify_code: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wsal_metadata: Data: 93.63MB + Index: 160.66MB + Engine InnoDB<br>kwpa_wsal_occurrences: Data: 58.59MB + Index: 16.06MB + Engine InnoDB<br>kwpa_wsal_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wt_iew_action_history: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>kwpa_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>### Post Type Counts ###<br><br>attachment: 33689<br>attribute_group: 157<br>cms_block: 37<br>custom_css: 3<br>e-landing-page: 7<br>elementor_library: 20<br>ibfw_product_label: 1<br>nav_menu_item: 251<br>notic_wpyticket: 2<br>o-discount: 4<br>o-list: 4<br>oembed_cache: 25<br>page: 33<br>portfolio: 7<br>post: 75<br>product: 8206<br>product_variation: 1040<br>rank_math_locations: 2<br>revision: 115<br>shop_order: 19766<br>shop_order_refund: 8<br>wafs: 1<br>wc_order_status: 16<br>web-story: 1<br>woodmart_layout: 19<br>woodmart_sidebar: 34<br>woodmart_slide: 13<br>woodmart_woo_lv: 16<br>wooi: 9<br>wp_global_styles: 4<br>wp_navigation: 1<br>wp_template: 2<br>wpcf7_contact_form: 1<br>yith_wcan_preset: 4<br>ywtm_tab: 1<br><br>### Security ###<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔<br><br>### Active Plugins (7) ###<br><br>Elementor: by Elementor.com – 3.26.3<br>Query Monitor: by John Blackbourn – 3.17.0<br>Rank Math SEO: by Rank Math SEO – 1.0.234.1<br>weLaunch Framework: by weLaunch.io – 1.1.2<br>WooCommerce Group Attributes: by Welunch – 1.7.7<br>WooCommerce: by Automattic – 9.5.1<br>Woodmart Core: by – 1.1.0<br><br>### Inactive Plugins (0) ###<br><br><br>### Dropin Plugins () ###<br><br>db.php: Query Monitor Database Class (Drop-in)<br>maintenance.php: maintenance.php<br><br>### Settings ###<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: US $<br>Currency Position: left_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br>yith_bundle (yith_bundle)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: –<br><br>### Logging ###<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 1 MB<br><br>### WC Pages ###<br><br>Shop base: #9 - /shop/<br>Cart: #67594 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #8 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #105643 - /account/<br>Terms and conditions: #4292 - /terms-and-conditions/<br><br>### Theme ###<br><br>Name: Woodmart<br>Version: 8.0.6<br>Author URL: http://themeforest.net/user/xtemos<br>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<br>Theme type: Classic theme<br>WooCommerce Support: ✔<br><br>### Templates ###<br><br>Overrides: woodmart/woocommerce/archive-product.php<br>woodmart/woocommerce/cart/cart-item-data.php<br>woodmart/woocommerce/cart/cart.php<br>woodmart/woocommerce/cart/cross-sells.php<br>woodmart/woocommerce/cart/mini-cart.php<br>woodmart/woocommerce/checkout/form-checkout.php<br>woodmart/woocommerce/checkout/thankyou.php<br>woodmart/woocommerce/content-product-cat.php<br>woodmart/woocommerce/content-product.php<br>woodmart/woocommerce/content-single-product.php<br>woodmart/woocommerce/content-widget-product.php<br>woodmart/woocommerce/global/breadcrumb.php<br>woodmart/woocommerce/global/form-login.php<br>woodmart/woocommerce/global/quantity-input.php<br>woodmart/woocommerce/loop/add-to-cart.php<br>woodmart/woocommerce/loop/loop-end.php<br>woodmart/woocommerce/loop/loop-start.php<br>woodmart/woocommerce/loop/no-products-found.php<br>woodmart/woocommerce/loop/orderby.php<br>woodmart/woocommerce/loop/pagination.php<br>woodmart/woocommerce/loop/sale-flash.php<br>woodmart/woocommerce/myaccount/form-login.php<br>woodmart/woocommerce/product-searchform.php<br>woodmart/woocommerce/single-product/add-to-cart/grouped.php<br>woodmart/woocommerce/single-product/add-to-cart/variable.php<br>woodmart/woocommerce/single-product/meta.php<br>/home/examplecom/public_html/wp-content/plugins/woocommerce-group-attributes/public/partials/woocommerce-group-attributes-output-layout-1.php version 3.6.0 is out of date. The core version is 9.3.0<br>woodmart/woocommerce/single-product/product-image.php<br>woodmart/woocommerce/single-product/product-thumbnails.php<br>woodmart/woocommerce/single-product/rating.php<br>woodmart/woocommerce/single-product/related.php<br>woodmart/woocommerce/single-product/sale-flash.php<br>woodmart/woocommerce/single-product/tabs/description.php<br>woodmart/woocommerce/single-product/tabs/tabs.php<br>woodmart/woocommerce/single-product/title.php<br>woodmart/woocommerce/single-product/up-sells.php<br>woodmart/woocommerce/single-product-reviews.php<br>woodmart/woocommerce/single-product.php<br><br>Outdated Templates: ❌<br> <br> <br> Learn how to update |<br> <br> <br> <br> <br> Clear system status theme info cache<br><br>### Admin ###<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br>use-wp-horizon<br>add-to-cart-with-options-stepper-layout<br><br>Daily Cron: ✔ Next scheduled: 2024-12-31 14:47:09 +03:30<br>Options: ✔<br>Notes: 33<br>Onboarding: completed<br><br>### Action Scheduler ###<br><br>Complete: 173<br>Oldest: 2024-12-01 08:05:27 +0330<br>Newest: 2024-12-31 11:06:27 +0330<br><br>Failed: 100<br>Oldest: 2023-12-27 21:45:37 +0330<br>Newest: 2024-12-29 18:18:12 +0330<br><br>Pending: 1<br>Oldest: 2024-12-31 20:46:51 +0330<br>Newest: 2024-12-31 20:46:51 +0330<br><br><br>### Status report information ###<br><br>Generated at: 2024-12-31 16:25:44 +03:30<br>As you can see, all plugin are disabled exept the woo and query monitor and I used the Twenty Twenty-Five Version: 1.0
and PHP 8.3 https://prnt.sc/lRnXyG4WSo3Y
And fatal error :
2024-12-29T16:17:26+00:00 Critical Allowed memory size of 134217728 bytes exhausted (tried to allocate 1716224 bytes)
Additional context
{
"error": {
"type": 1,
"file": "/home/examplecom/public_html/wp-includes/class-wpdb.php",
"line": 1278
},
"remote-logging": true,
"backtrace": [
{
"file": "/home/examplecom/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php",
"line": 411,
"function": "critical",
"class": "WC_Logger",
"type": "->"
},
{
"function": "log_errors",
"class": "WooCommerce",
"type": "->"
}
]
}-
This reply was modified 1 year, 2 months ago by
raha1988ab.
Hi there,
Thank you for sharing all the information. I’ve tried to replicate the issue on my site but was unable to reproduce it.
However, I can see that many users have already reported this error message on GitHub: https://github.com/woocommerce/woocommerce/issues/53848. Our developers are actively working on resolving this, and we hope to have a fix available as soon as possible.
In the meantime, I recommend following the steps outlined in this GitHub comment to address the issue: https://github.com/woocommerce/woocommerce/issues/53848#issuecomment-2558481733.
I hope this helps!
The topic ‘PHP Errors : Undefined offset: 0’ is closed to new replies.