add-to-cart.php errors after latest update
-
Following the latest update of Woocommerce (ver.9.0.0) a lot of errors appeared on my error.log.
This is the error :
PHP Warning: Undefined array key “aria-describedby_text” in /home/civilwor/public_html/structuraldetails/wp-content/plugins/woocommerce/templates/loop/add-to-cart.php on line 40
Any suggestions?
-
Hi there @structuraldetails.
Thanks for reaching out.
I understand you’re experiencing PHP errors after updating your store to the latest WooCommerce version.
In order to understand where the error is generated from, I’d recommend the following steps:
- Create a full site backup, then, try deactivating all plugins except WooCommerce to see if the error still occurs. If it doesn’t, reactivate your plugins one by one until you find the one causing the conflict.
- If the error still occurs with all other plugins deactivated, try switching to a default WordPress theme like Twenty Twenty-Four. If this resolves the issue, the problem lies with your theme.
Let us know if this helps.
Thanks for getting back.
I did all that with no result.
The error is in the last line of the add-to-cart.php file:
<?php echo esc_html( $args['aria-describedby_text'] ); ?>
This appeared immediately after updating to version 9.0.0
To clarify, one can only see this error if you check the error file in the cPanel File Manager in the root directory. There are errors every 1 minute.
I deleted this line from the code and the errors stopped. I checked the store and it looks like everything is working properly and the add to cart button is also working.
Nevertheless, I believe this should be resolved.
Thanks again!Hi again @structuraldetails,
Thanks for sharing further details on this. Could you please share with us a system status report so that we can try replicate reproducing the error from our tests sites?
You can find it via WooCommerce > Status > Get system report > Copy for support.
Hi,
I am sending you the system reports from both my wordpress/woocommerce installations. One is for my actual live site and the other from the staging site.
The error happens on both.
Here is the system status for the live site:
<br>### WordPress Environment ###<br><br>WordPress address (URL): https://www.structuraldetails.civilworx.com<br>Site address (URL): https://www.structuraldetails.civilworx.com<br>WC Version: 9.0.1<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.7.4<br>Log Directory Writable: ?<br>WP Version: 6.5.4<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: –<br><br>### Server Environment ###<br><br>Server Info: Apache<br>PHP Version: 8.1.16<br>PHP Post Max Size: 7 GB<br>PHP Time Limit: 6000<br>PHP Max Input Vars: 10000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.12-MariaDB<br>Max Upload Size: 7 GB<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.0.1<br>WC Database Prefix: 7n2_<br>Total Database Size: 315.99MB<br>Database Data Size: 200.90MB<br>Database Index Size: 115.09MB<br>7n2_woocommerce_sessions: Data: 0.98MB + Index: 0.04MB + Engine MyISAM<br>7n2_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>7n2_woocommerce_downloadable_product_permissions: Data: 0.97MB + Index: 0.94MB + Engine MyISAM<br>7n2_woocommerce_order_items: Data: 0.76MB + Index: 0.32MB + Engine MyISAM<br>7n2_woocommerce_order_itemmeta: Data: 4.38MB + Index: 2.68MB + Engine MyISAM<br>7n2_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>7n2_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>7n2_woocommerce_payment_tokenmeta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM<br>7n2_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_actionscheduler_actions: Data: 56.13MB + Index: 39.17MB + Engine InnoDB<br>7n2_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_actionscheduler_logs: Data: 27.11MB + Index: 20.08MB + Engine InnoDB<br>7n2_automatewoo_abandoned_carts: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>7n2_automatewoo_customers: Data: 0.42MB + Index: 0.98MB + Engine InnoDB<br>7n2_automatewoo_customer_meta: Data: 0.16MB + Index: 0.19MB + Engine InnoDB<br>7n2_automatewoo_guests: Data: 0.02MB + Index: 0.05MB + Engine MyISAM<br>7n2_automatewoo_guest_meta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM<br>7n2_automatewoo_logs: Data: 0.12MB + Index: 0.21MB + Engine MyISAM<br>7n2_automatewoo_log_meta: Data: 0.92MB + Index: 0.45MB + Engine MyISAM<br>7n2_automatewoo_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_automatewoo_queue_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>7n2_awb_critical_css: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_cky_banners: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>7n2_cky_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_cky_cookie_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_commentmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM<br>7n2_comments: Data: 1.91MB + Index: 0.69MB + Engine MyISAM<br>7n2_cr_local_forms: Data: 3.52MB + Index: 0.02MB + Engine InnoDB<br>7n2_cr_reminders_log: Data: 0.08MB + Index: 0.08MB + Engine InnoDB<br>7n2_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>7n2_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_mc4wp_log: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>7n2_optinrev: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>7n2_options: Data: 4.41MB + Index: 0.29MB + Engine MyISAM<br>7n2_popover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_popover_ip_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_postmeta: Data: 35.83MB + Index: 9.71MB + Engine MyISAM<br>7n2_posts: Data: 19.53MB + Index: 0.75MB + Engine MyISAM<br>7n2_relevanssi: Data: 4.52MB + Index: 6.42MB + Engine InnoDB<br>7n2_relevanssi_log: Data: 0.11MB + Index: 0.14MB + Engine InnoDB<br>7n2_relevanssi_stopwords: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_smush_dir_images: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>7n2_termmeta: Data: 0.11MB + Index: 0.05MB + Engine MyISAM<br>7n2_terms: Data: 0.01MB + Index: 0.03MB + Engine MyISAM<br>7n2_term_relationships: Data: 0.11MB + Index: 0.21MB + Engine MyISAM<br>7n2_term_taxonomy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM<br>7n2_testimonials: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_usermeta: Data: 9.08MB + Index: 5.12MB + Engine MyISAM<br>7n2_users: Data: 0.62MB + Index: 0.42MB + Engine MyISAM<br>7n2_wc_admin_notes: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>7n2_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wc_customer_lookup: Data: 0.52MB + Index: 0.41MB + Engine InnoDB<br>7n2_wc_download_log: Data: 0.52MB + Index: 0.45MB + Engine InnoDB<br>7n2_wc_orders: Data: 1.52MB + Index: 1.64MB + Engine InnoDB<br>7n2_wc_orders_meta: Data: 8.52MB + Index: 18.13MB + Engine InnoDB<br>7n2_wc_order_addresses: Data: 1.52MB + Index: 1.23MB + Engine InnoDB<br>7n2_wc_order_coupon_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>7n2_wc_order_operational_data: Data: 1.52MB + Index: 0.42MB + Engine InnoDB<br>7n2_wc_order_product_lookup: Data: 1.52MB + Index: 0.89MB + Engine InnoDB<br>7n2_wc_order_stats: Data: 1.52MB + Index: 0.48MB + Engine InnoDB<br>7n2_wc_order_tax_lookup: Data: 0.25MB + Index: 0.20MB + Engine InnoDB<br>7n2_wc_product_attributes_lookup: Data: 0.13MB + Index: 0.09MB + Engine InnoDB<br>7n2_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_product_meta_lookup: Data: 0.06MB + Index: 0.11MB + Engine InnoDB<br>7n2_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_woocommerce_arr_log: Data: 0.06MB + Index: 0.01MB + Engine MyISAM<br>7n2_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wpr_above_the_fold: Data: 7.52MB + Index: 0.19MB + Engine InnoDB<br>7n2_wpr_rocket_cache: Data: 0.27MB + Index: 0.36MB + Engine InnoDB<br>7n2_wpr_rucss_used_css: Data: 0.20MB + Index: 0.25MB + Engine InnoDB<br>7n2_wp_topbar_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_wrd_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_wrd_sent_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_yoast_indexable: Data: 1.52MB + Index: 0.31MB + Engine InnoDB<br>7n2_yoast_indexable_hierarchy: Data: 0.08MB + Index: 0.08MB + Engine InnoDB<br>7n2_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_yoast_primary_term: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>7n2_yoast_seo_links: Data: 0.45MB + Index: 0.25MB + Engine InnoDB<br>7n2_yoast_seo_meta: Data: 0.45MB + Index: 0.00MB + Engine InnoDB<br><br>### Post Type Counts ###<br><br>amn_smtp: 1<br>attachment: 3455<br>aw_workflow: 20<br>awb_off_canvas: 1<br>fusion_element: 52<br>fusion_form: 1<br>fusion_tb_layout: 12<br>fusion_tb_section: 22<br>fusion_template: 11<br>mc4wp-form: 2<br>nav_menu_item: 151<br>notices: 1<br>page: 38<br>popup_theme: 6<br>post: 57<br>product: 369<br>product_variation: 4<br>promote_banners: 7<br>revision: 6<br>safecss: 1<br>scroll-triggered-box: 1<br>services: 2<br>shop_coupon: 420<br>shop_order: 4942<br>shop_order_refund: 4<br>slide: 20<br>sptemplates: 3<br>testimonial: 1<br>testimonials: 5<br>wooframework: 24<br>ywrac_cart: 1<br><br>### Security ###<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ?<br><br>### Active Plugins (22) ###<br><br>Titan Anti-spam & Security: by CreativeMotion – 7.3.5<br>AutomateWoo: by WooCommerce – 6.0.26<br>Customer Reviews for WooCommerce PRO: by CusRev – 1.7.3<br>Customer Reviews for WooCommerce: by CusRev – 5.52.0<br>Avada Builder: by ThemeFusion – 3.11.9<br>Avada Core: by ThemeFusion – 5.11.9<br>Google reCaptcha for WooCommerce: by KoalaApps – 1.3.2<br>MC4WP: Mailchimp for WordPress: by ibericode – 4.9.13<br>Pinterest for WooCommerce: by WooCommerce – 1.3.24<br>Recently Registered: by Mika Epstein – 3.5<br>Relevanssi: by Mikko Saari – 4.22.2<br>Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.2<br>Force Authentification Before Checkout for WooCommerce: by Luiz Bills – 1.4.4<br>Payment Plugins for Stripe WooCommerce: by Payment Plugins<br>[email protected] – 3.3.72<br><br>WooCommerce.com Update Manager: by Automattic – 1.0.3<br>WooCommerce PayPal Payments: by WooCommerce – 2.8.0<br>WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.13.5<br>WooCommerce: by Automattic – 9.0.1<br>Yoast SEO: by Team Yoast – 22.9<br>WP Mail SMTP: by WP Mail SMTP – 4.0.1<br>WP Rocket: by WP Media – 3.16<br>Smush: by WPMU DEV – 3.16.5<br><br>### Inactive Plugins (2) ###<br><br>CookieYes | GDPR Cookie Consent: by CookieYes – 3.2.4<br>WooCommerce Legacy REST API: by WooCommerce – 1.0.4<br><br>### Dropin Plugins () ###<br><br>advanced-cache.php: advanced-cache.php<br>maintenance.php: maintenance.php<br><br>### Settings ###<br><br>API Enabled: –<br>Force SSL: ?<br>Currency: EUR (€)<br>Currency Position: left<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>woosb (woosb)<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: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<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: 30 KB<br><br>### WC Pages ###<br><br>Shop base: #59 - /shop/<br>Cart: #20580 - /cart-page/<br>Checkout: #61 - /checkout/<br>My account: #62 - /my-account/<br>Terms and conditions: #205 - /terms-conditions/<br><br>### Theme ###<br><br>Name: Avada<br>Version: 7.11.9<br>Author URL: https://themeforest.net/user/ThemeFusion<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>WooCommerce Support: ?<br><br>### Templates ###<br><br>Overrides: Avada/woocommerce/cart/cart.php<br>Avada/woocommerce/checkout/form-pay.php<br>Avada/woocommerce/checkout/review-order.php<br>Avada/woocommerce/single-product/short-description.php<br>Avada/woocommerce/single-product/tabs/additional-information.php<br>Avada/woocommerce/single-product/tabs/description.php<br><br><br>### WooCommerce PayPal Payments ###<br><br>Onboarded: ?<br>Shop country code: CY<br>WooCommerce currency supported: ?<br>Advanced Card Processing available in country: ?<br>Pay Later messaging available in country: –<br>Webhook status: ?<br>PayPal Vault enabled: –<br>ACDC Vault enabled: –<br>Logging enabled: –<br>Reference Transactions: ?<br>Used PayPal Checkout plugin: ?<br>Subscriptions Mode: Disabled<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>navigation<br>onboarding<br>onboarding-tasks<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<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><br>Disabled Features: minified-js<br>new-product-management-experience<br>pattern-toolkit-full-composability<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>launch-your-store<br>product-editor-template-system<br><br>Daily Cron: ? Next scheduled: 2024-06-21 19:26:04 +03:00<br>Options: ?<br>Notes: 142<br>Onboarding: completed<br><br>### Action Scheduler ###<br><br>Canceled: 1<br>Oldest: 2024-05-27 10:27:22 +0300<br>Newest: 2024-05-27 10:27:22 +0300<br><br>Complete: 103,582<br>Oldest: 2024-05-21 06:36:37 +0300<br>Newest: 2024-06-21 06:35:47 +0300<br><br>Failed: 46<br>Oldest: 2019-06-17 09:39:50 +0300<br>Newest: 2024-06-20 17:14:53 +0300<br><br>Pending: 31<br>Oldest: 2024-06-21 06:35:56 +0300<br>Newest: 2024-06-24 20:36:46 +0300<br><br><br>### Status report information ###<br><br>Generated at: 2024-06-21 06:36:06 +03:00<br>
And this is the system status of the staging site:
WordPress Environment<br><br>WordPress address (URL): https://www.structuraldetails.civilworx.com/staging<br>Site address (URL): https://www.structuraldetails.civilworx.com/staging<br>WC Version: 9.0.0<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.7.4<br>Log Directory Writable: ?<br>WP Version: 6.5.4<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment<br><br>Server Info: Apache<br>PHP Version: 8.1.16<br>PHP Post Max Size: 7 GB<br>PHP Time Limit: 6000<br>PHP Max Input Vars: 10000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.12-MariaDB<br>Max Upload Size: 7 GB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database<br><br>WC Database Version: 9.0.0<br>WC Database Prefix: 7n2_<br>Total Database Size: 131.03MB<br>Database Data Size: 90.55MB<br>Database Index Size: 40.48MB<br>7n2_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>7n2_woocommerce_downloadable_product_permissions: Data: 0.83MB + Index: 0.79MB + Engine MyISAM<br>7n2_woocommerce_order_items: Data: 0.67MB + Index: 0.28MB + Engine MyISAM<br>7n2_woocommerce_order_itemmeta: Data: 3.88MB + Index: 2.38MB + Engine MyISAM<br>7n2_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>7n2_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>7n2_woocommerce_payment_tokenmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM<br>7n2_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_actionscheduler_actions: Data: 1.52MB + Index: 1.09MB + Engine InnoDB<br>7n2_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_actionscheduler_logs: Data: 1.52MB + Index: 0.36MB + Engine InnoDB<br>7n2_automatewoo_abandoned_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_automatewoo_customers: Data: 0.38MB + Index: 0.70MB + Engine InnoDB<br>7n2_automatewoo_customer_meta: Data: 0.11MB + Index: 0.13MB + Engine InnoDB<br>7n2_automatewoo_guests: Data: 0.02MB + Index: 0.04MB + Engine MyISAM<br>7n2_automatewoo_guest_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM<br>7n2_automatewoo_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_automatewoo_log_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>7n2_automatewoo_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_automatewoo_queue_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_awb_critical_css: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_commentmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM<br>7n2_comments: Data: 1.55MB + Index: 0.57MB + Engine MyISAM<br>7n2_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>7n2_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_layerslider: Data: 0.03MB + Index: 0.00MB + Engine InnoDB<br>7n2_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_mc4wp_log: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>7n2_optinrev: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>7n2_options: Data: 5.67MB + Index: 0.14MB + Engine MyISAM<br>7n2_popover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_popover_ip_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_postmeta: Data: 29.10MB + Index: 8.47MB + Engine MyISAM<br>7n2_posts: Data: 13.81MB + Index: 0.64MB + Engine MyISAM<br>7n2_relevanssi: Data: 3.52MB + Index: 4.55MB + Engine InnoDB<br>7n2_relevanssi_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>7n2_relevanssi_stopwords: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_smush_dir_images: Data: 0.02MB + Index: 0.01MB + Engine MyISAM<br>7n2_termmeta: Data: 0.10MB + Index: 0.04MB + Engine MyISAM<br>7n2_terms: Data: 0.01MB + Index: 0.04MB + Engine MyISAM<br>7n2_term_relationships: Data: 0.10MB + Index: 0.18MB + Engine MyISAM<br>7n2_term_taxonomy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM<br>7n2_testimonials: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_usermeta: Data: 7.28MB + Index: 4.13MB + Engine MyISAM<br>7n2_users: Data: 0.50MB + Index: 0.35MB + Engine MyISAM<br>7n2_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>7n2_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wc_customer_lookup: Data: 0.44MB + Index: 0.28MB + Engine InnoDB<br>7n2_wc_download_log: Data: 0.45MB + Index: 0.30MB + Engine InnoDB<br>7n2_wc_orders: Data: 1.52MB + Index: 1.22MB + Engine InnoDB<br>7n2_wc_orders_meta: Data: 8.52MB + Index: 10.06MB + Engine InnoDB<br>7n2_wc_order_addresses: Data: 1.52MB + Index: 0.84MB + Engine InnoDB<br>7n2_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>7n2_wc_order_operational_data: Data: 1.52MB + Index: 0.28MB + Engine InnoDB<br>7n2_wc_order_product_lookup: Data: 1.52MB + Index: 0.63MB + Engine InnoDB<br>7n2_wc_order_stats: Data: 0.52MB + Index: 0.33MB + Engine InnoDB<br>7n2_wc_order_tax_lookup: Data: 0.25MB + Index: 0.20MB + Engine InnoDB<br>7n2_wc_product_attributes_lookup: Data: 0.09MB + Index: 0.08MB + Engine InnoDB<br>7n2_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_product_meta_lookup: Data: 0.05MB + Index: 0.11MB + Engine InnoDB<br>7n2_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_woocommerce_arr_log: Data: 0.06MB + Index: 0.01MB + Engine MyISAM<br>7n2_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>7n2_wpr_above_the_fold: Data: 0.23MB + Index: 0.06MB + Engine InnoDB<br>7n2_wpr_rocket_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>7n2_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>7n2_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_wp_topbar_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_wrd_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_wrd_sent_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>7n2_yoast_indexable: Data: 1.52MB + Index: 0.27MB + Engine InnoDB<br>7n2_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.08MB + Engine InnoDB<br>7n2_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>7n2_yoast_primary_term: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>7n2_yoast_seo_links: Data: 0.36MB + Index: 0.16MB + Engine InnoDB<br>7n2_yoast_seo_meta: Data: 0.45MB + Index: 0.00MB + Engine InnoDB Post Type Counts<br><br>amn_smtp: 1<br>attachment: 2607<br>awb_off_canvas: 2<br>fusion_element: 41<br>fusion_form: 1<br>fusion_icons: 1<br>fusion_tb_layout: 9<br>fusion_tb_section: 17<br>fusion_template: 7<br>mc4wp-form: 2<br>nav_menu_item: 150<br>notices: 1<br>page: 41<br>popup_theme: 6<br>post: 43<br>product: 326<br>product_variation: 4<br>promote_banners: 7<br>revision: 85<br>safecss: 1<br>scroll-triggered-box: 1<br>services: 2<br>shop_coupon: 231<br>shop_order: 4174<br>shop_order_refund: 4<br>slide: 20<br>sptemplates: 3<br>testimonial: 1<br>testimonials: 5<br>wooframework: 24<br>wp_navigation: 1<br>ywrac_cart: 1 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (16)<br><br>Titan Anti-spam & Security: by CreativeMotion – 7.3.5<br>Avada Builder: by ThemeFusion – 3.11.9<br>Avada Core: by ThemeFusion – 5.11.9<br>MC4WP: Mailchimp for WordPress: by ibericode – 4.9.13<br>Recently Registered: by Mika Epstein – 3.5<br>Relevanssi: by Mikko Saari – 4.22.2<br>Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.2<br>Force Authentification Before Checkout for WooCommerce: by Luiz Bills – 1.4.4<br>Payment Plugins for Stripe WooCommerce: by Payment Plugins<br>[email protected] – 3.3.71<br><br>WooCommerce.com Update Manager: by Automattic – 1.0.3<br>WooCommerce PayPal Payments: by WooCommerce – 2.8.0<br>WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.13.5<br>WooCommerce: by Automattic – 9.0.0 (update to version 9.0.1 is available)<br>WP Mail SMTP: by WP Mail SMTP – 4.0.1<br>WP Rocket: by WP Media – 3.16<br>Smush: by WPMU DEV – 3.16.4 Inactive Plugins (0) Dropin Plugins ()<br><br>advanced-cache.php: advanced-cache.php<br>maintenance.php: maintenance.php Settings<br><br>API Enabled: –<br>Force SSL: ?<br>Currency: EUR (€)<br>Currency Position: left<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>woosb (woosb)<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: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: ? Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 2 KB WC Pages<br><br>Shop base: #59 - /shop/<br>Cart: #60 - /cart/<br>Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.<br>My account: #62 - /my-account/<br>Terms and conditions: #205 - /terms-conditions/ Theme<br><br>Name: Avada<br>Version: 7.11.9<br>Author URL: https://themeforest.net/user/ThemeFusion<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>WooCommerce Support: ? Templates<br><br>Overrides: Avada/woocommerce/cart/cart.php<br>Avada/woocommerce/checkout/form-pay.php<br>Avada/woocommerce/checkout/review-order.php<br>Avada/woocommerce/single-product/short-description.php<br>Avada/woocommerce/single-product/tabs/additional-information.php<br>Avada/woocommerce/single-product/tabs/description.php WooCommerce PayPal Payments<br><br>Onboarded: ?<br>Shop country code: CY<br>WooCommerce currency supported: ?<br>Advanced Card Processing available in country: ?<br>Pay Later messaging available in country: –<br>Webhook status: –<br>PayPal Vault enabled: ?<br>ACDC Vault enabled: ?<br>Logging enabled: –<br>Reference Transactions: ?<br>Used PayPal Checkout plugin: ?<br>Subscriptions Mode: Disabled 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>navigation<br>onboarding<br>onboarding-tasks<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<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><br>Disabled Features: minified-js<br>new-product-management-experience<br>pattern-toolkit-full-composability<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>launch-your-store<br>product-editor-template-system<br><br>Daily Cron: ? Next scheduled: 2024-06-21 19:26:04 +03:00<br>Options: ?<br>Notes: 151<br>Onboarding: completed Action Scheduler<br><br>Complete: 277<br>Oldest: 2024-05-21 06:42:51 +0300<br>Newest: 2024-06-21 06:37:35 +0300<br><br>Failed: 2,413<br>Oldest: 2022-12-30 14:49:41 +0200<br>Newest: 2024-05-10 10:55:26 +0300<br><br>Pending: 5<br>Oldest: 2024-06-21 07:37:29 +0300<br>Newest: 2024-06-22 06:42:34 +0300 Status report information<br><br>Generated at: 2024-06-21 06:37:43 +03:00<br>
Hello structuraldetails,
Thank you for your reply.
The WooCommerce has released version 9.0.1.
Could you please check again if the error persists?
If it persists then I recommend following these steps on the staging site.
1- Update WooCommerce to 9.0.1.
2- Switch the theme to Twenty Twenty-Four and keep it so I can also check.This process will allow me to see if the error is happening in the default environment.
I look forward to your reply. ??
Best regards.
Ok,
On the staging site https://www.structuraldetails.civilworx.com/staging/
I updated to 9.01 with the avada theme and the error still occurs.
I changed to the default 2024 theme and the errors stopped.
Now, I know you will tell me to contact the theme provider, but this error occured only after the latest woocommerce update without changing or updating the AVADA theme. It was OK before.
Thanks for all the help.
Let me know to revert back to my theme when you are done or if there is anything else I can do!
PS: Can you make this conversation private please since there are sensitive information here?
Thanks for those tests and I realise this might be incredibly frustrating but the template overrides (e.g.
Overrides: Avada/woocommerce/cart/cart.php
seem to be the most likely culprit here – Especially when the errors stop as soons as one switches to a different theme. It’s possible that your version of Avada isn’t compatible with the latest version of WooCommerce, although that’s something they’d need to investigate further as it’s not something we have any direct control over.If you’d like to temporarily switch back to an earlier version of WooCommerce while Avada investigates WooCommerce compatibility, have a look at this guide.
Can you make this conversation private please since there are sensitive information here?
The forum functions here are powered by the team at www.ads-software.com and doesn’t currently allow for private messaging or restricting of content.
I have the AVADA theme on my woocommerce store.
After debugging this with the theme provider, they found that one of their theme files needed to be fixed according to the latest woocommerce updates, which they have sent me as a temporary fix until they implement this fix in their next theme update.
The file that needed to be changed is in the theme > Includes folder and for the avada theme this was the file class-avada-woocommerce.php.
You can contact your theme provider to provide you with a temporary fix if you want.
I have the same issue in my case it seems to be associated with the plugin free woocommerce downloads
https://www.ads-software.com/support/topic/woocommerce-add-to-cart-php-error-40/#post-17865366
They say its not their code even though if I disable to plugin the error goes away
- This reply was modified 4 months, 3 weeks ago by Dillx.
I understand that – the issue is that the code you shared does not appear in our plugin
With a number of other plugins that could hook into actions that are fired when a download happens, it could be a number of things
My suggestion is to try on a dev site disable all other plugins and just Woo and our plugin – does it happen then? With a default theme too?
Then work upwards
I cannot replicate it on our dev site
As I explained above, even though it looks like a plugin issue, try contacting your theme provider.
AVADA resolved this issue quickly for me by updating one of their theme woocommerce template files.
Great news – as you can see its their code that gets called when a download happens
Glad it is sorted – well done ??
Have a great week
I have the AVADA theme on my woocommerce store.
After debugging this with the theme provider, they found that one of their theme files needed to be fixed according to the latest woocommerce updates, which they have sent me as a temporary fix until they implement this fix in their next theme update.
The file that needed to be changed is in the theme > Includes folder and for the avada theme this was the file class-avada-woocommerce.php.
You can contact your theme provider to provide you with a temporary fix if you want.
Can you kindly share the contents of this file here? I also have Avada and would rather not wait until the next update to get my error logs to stop exploding. I would also rather not start from scratch with trying to convince Avada tech support that this issue is theirs. Thanks.
- This reply was modified 4 months, 2 weeks ago by sparky672.
Same trouble here. @structuraldetails can you share the content of the file here?
- You must be logged in to reply to this topic.