Warning: A non-numeric value encountered class-wc-cart.php on line 2032
-
Hi,
Even the price number is a number show me that error.
Can someone help me?
Thanks
The page I need help with: [log in to see the link]
-
The error message apparently comes from the WooCommerce plugin. You should therefore contact their support. By the way, they are also available in your language: https://es.www.ads-software.com/support/forum/plugins-y-hacks/woocommerce/
Can you share the action performed that triggers this error? Can you also share a screenshot of the error via https://imgbb.com or https://snipboard.io?
For better assistance, please share your WooCommerce error logs and System Status on this thread so we can take a look at your configuration and check the issue further:
System Status: 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.
Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
We haven’t heard back from you in a while, so I’m going to mark this thread as closed – we’ll be here if and/or when you are ready to continue.
### WordPress Environment ### WordPress address (URL): https://cialainsa.com Site address (URL): https://cialainsa.com WC Version: 6.3.1 REST API Version: ? 6.3.1 WC Blocks Version: ? 6.9.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.2.1 Log Directory Writable: ? WP Version: 5.9.2 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.28 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1n-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.3.1 WC Database Prefix: oiOf9L_ Tama?o total de la base de datos: 195.17MB Tama?o de los datos de la base de datos: 163.75MB Tama?o del índice de la base de datos: 31.42MB oiOf9L_woocommerce_sessions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB oiOf9L_woocommerce_order_items: Datos: 0.08MB + índice: 0.02MB + Motor InnoDB oiOf9L_woocommerce_order_itemmeta: Datos: 1.52MB + índice: 0.45MB + Motor InnoDB oiOf9L_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB oiOf9L_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_actionscheduler_actions: Datos: 0.47MB + índice: 0.67MB + Motor InnoDB oiOf9L_actionscheduler_claims: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_actionscheduler_logs: Datos: 0.14MB + índice: 0.13MB + Motor InnoDB oiOf9L_cartflows_ca_cart_abandonment: Datos: 0.38MB + índice: 0.02MB + Motor InnoDB oiOf9L_cartflows_ca_email_history: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_cartflows_ca_email_templates: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_cartflows_ca_email_templates_meta: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_comments: Datos: 0.27MB + índice: 0.36MB + Motor InnoDB oiOf9L_e_events: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_e_submissions: Datos: 0.02MB + índice: 0.27MB + Motor InnoDB oiOf9L_e_submissions_actions_log: Datos: 0.02MB + índice: 0.11MB + Motor InnoDB oiOf9L_e_submissions_values: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_feedmanager_channel: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_feedmanager_country: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_feedmanager_feed_status: Datos: 0.02MB + índice: 0.08MB + Motor InnoDB oiOf9L_feedmanager_field_categories: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_feedmanager_product_feed: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_feedmanager_product_feedmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_feedmanager_source: Datos: 0.02MB + índice: 0.08MB + Motor InnoDB oiOf9L_gla_budget_recommendations: Datos: 0.22MB + índice: 0.14MB + Motor InnoDB oiOf9L_gla_shipping_rates: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_gla_shipping_times: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_options: Datos: 10.05MB + índice: 0.31MB + Motor InnoDB oiOf9L_pmxe_exports: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxe_google_cats: Datos: 0.39MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxe_posts: Datos: 0.16MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxe_templates: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxi_files: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxi_hash: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxi_history: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxi_images: Datos: 1.52MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxi_imports: Datos: 0.39MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxi_posts: Datos: 1.52MB + índice: 0.00MB + Motor InnoDB oiOf9L_pmxi_templates: Datos: 0.17MB + índice: 0.00MB + Motor InnoDB oiOf9L_postmeta: Datos: 115.63MB + índice: 14.03MB + Motor InnoDB oiOf9L_posts: Datos: 13.52MB + índice: 5.05MB + Motor InnoDB oiOf9L_rank_math_404_logs: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_rank_math_analytics_gsc: Datos: 0.08MB + índice: 0.09MB + Motor InnoDB oiOf9L_rank_math_analytics_inspections: Datos: 0.02MB + índice: 0.11MB + Motor InnoDB oiOf9L_rank_math_analytics_objects: Datos: 0.25MB + índice: 0.14MB + Motor InnoDB oiOf9L_rank_math_internal_links: Datos: 0.05MB + índice: 0.02MB + Motor InnoDB oiOf9L_rank_math_internal_meta: Datos: 1.52MB + índice: 0.00MB + Motor InnoDB oiOf9L_rank_math_redirections: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_rank_math_redirections_cache: Datos: 0.14MB + índice: 0.05MB + Motor InnoDB oiOf9L_sgs_log_events: Datos: 9.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_sgs_log_visitors: Datos: 0.06MB + índice: 0.00MB + Motor InnoDB oiOf9L_smush_dir_images: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_termmeta: Datos: 0.14MB + índice: 0.20MB + Motor InnoDB oiOf9L_terms: Datos: 0.11MB + índice: 0.11MB + Motor InnoDB oiOf9L_term_relationships: Datos: 0.22MB + índice: 0.19MB + Motor InnoDB oiOf9L_term_taxonomy: Datos: 0.11MB + índice: 0.13MB + Motor InnoDB oiOf9L_usermeta: Datos: 1.52MB + índice: 3.03MB + Motor InnoDB oiOf9L_users: Datos: 0.11MB + índice: 0.08MB + Motor InnoDB oiOf9L_wcpdf_invoice_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_wcpdf_packing_slip_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_wc_admin_notes: Datos: 0.06MB + índice: 0.00MB + Motor InnoDB oiOf9L_wc_admin_note_actions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_wc_customer_lookup: Datos: 0.06MB + índice: 0.03MB + Motor InnoDB oiOf9L_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_wc_order_product_lookup: Datos: 0.08MB + índice: 0.06MB + Motor InnoDB oiOf9L_wc_order_stats: Datos: 0.06MB + índice: 0.05MB + Motor InnoDB oiOf9L_wc_order_tax_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB oiOf9L_wc_product_attributes_lookup: Datos: 0.09MB + índice: 0.11MB + Motor InnoDB oiOf9L_wc_product_meta_lookup: Datos: 2.52MB + índice: 4.39MB + Motor InnoDB oiOf9L_wc_rate_limits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB oiOf9L_wt_iew_action_history: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_wt_iew_cron: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_wt_iew_ftp: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB oiOf9L_wt_iew_mapping_template: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB ### Post Type Counts ### attachment: 15289 cartflows_flow: 1 cartflows_step: 2 condition_group: 1 custom_css: 7 customize_changeset: 6 elementor_library: 14 elementor-hf: 1 nav_menu_item: 68 page: 14 popup: 2 popup_theme: 8 post: 2 product: 1036 product_variation: 1066 revision: 3269 shop_coupon: 1 shop_order: 266 shop_order_refund: 31 sidebar: 1 wp_global_styles: 1 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (32) ### FiboSearch - AJAX Search for WooCommerce: por Equipo de FiboSearch – 1.17.0 Astra Pro: por Brainstorm Force – 3.6.6 Plantillas de inicio: por Brainstorm Force – 3.1.7 Astra Widgets: por Brainstorm Force – 1.2.10 CartFlows: por CartFlows Inc – 1.9.0 Contact Form 7: por Takayuki Miyoshi – 5.5.6 GDPR Cookie Consent: por WebToffee – 2.1.1 Elementor Pro: por Elementor.com – 3.6.4 Elementor: por Elementor.com – 3.6.1 Flexible Shipping: por WP Desk – 4.11.0 Head & Footer Code: por Aleksandar Urosevic – 1.2.4 Elementor Header & Footer Builder: por Brainstorm Force Nikhil Chavan – 1.6.9 Head, Footer and Post Injections: por Stefano Lissa – 3.2.2 Menu Image: por Freshlight Lab – 3.0.8 Popup Maker: por Popup Maker – 1.16.4 Product Prices by User Roles for WooCommerce Pro: por Tyche Softwares – 1.3.5 Product Prices by User Roles for WooCommerce: por Tyche Softwares – 1.4.3 Rank Math SEO: por Rank Math – 1.0.85.1 SiteGround Optimizer: por SiteGround – 7.0.7 SiteGround Security: por SiteGround – 1.2.4 Sidebar Manager: por Brainstorm Force – 1.1.7 User Role Editor: por Vladimir Garagulya – 4.61.2 WooCommerce Smart COD: por woosmartcod.com – 1.6.1 WooCommerce Cart Abandonment Recovery: por CartFlows Inc – 1.2.13 Premmerce Permalink Manager for WooCommerce: por premmerce – 2.3.5 WooCommerce Redsys Gateway Light: por José Conti – 3.0.6 WooCommerce PDF Invoices & Packing Slips: por WP Overnight – 2.14.2 Woocommerce Products Per Page: por Jeroen Sormani – 1.2.6 WooCommerce: por Automattic – 6.3.1 WooCommerce Google Feed Manager: por Michel Jongbloed – 2.29.0 WP Rollback: por Impress.org – 1.7.1 Smush: por WPMU DEV – 3.9.5 ### Inactive Plugins (8) ### Classic Editor: por WordPress Contributors – 1.6.2 Migrate Guru: por Migrate Guru – 4.72 Product CSV Import Export (BASIC): por WebToffee – 2.1.8 Schema - All In One Schema Rich Snippets: por Brainstorm Force – 1.6.4 WooCommerce Advanced Free Shipping: por Jeroen Sormani – 1.1.4 WP All Export: por Soflyy – 1.3.4 WP All Import: por Soflyy – 3.6.6 WP All Import - WooCommerce Add-On: por Soflyy – 1.5.1 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right 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: ? ### WC Pages ### Base de la tienda: #3607 - /productos/ Carrito: #97 - /cesta/ Finalizar compra: #98 - /checkout/ Mi cuenta: #99 - /mi-cuenta/ Términos y condiciones: #3671 - /devoluciones-y-reembolsos/ ### Theme ### Name: Astra Child Version: 1.0.0 Author URL: https://wpastra.com/about/ Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 3.7.9 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 1.598 Oldest: 2022-03-04 15:50:29 +0100 Newest: 2022-04-03 19:47:44 +0200 Failed: 1 Oldest: 2021-05-08 11:26:05 +0200 Newest: 2021-05-08 11:26:05 +0200 ### Status report information ### Generated at: 2022-04-03 19:50:01 +02:00
2022-03-04T11:14:31+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) en /var/www/vhosts/cialainsa.com/httpdocs/wp-includes/pomo/translations.php en la línea 100
2022-03-04T11:14:31+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) en /var/www/vhosts/cialainsa.com/httpdocs/wp-includes/pomo/translations.php en la línea 100
2022-03-04T11:14:59+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) en /var/www/vhosts/cialainsa.com/httpdocs/wp-includes/pomo/translations.php en la línea 100
2022-03-04T11:15:05+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) en /var/www/vhosts/cialainsa.com/httpdocs/wp-includes/rest-api.php en la línea 3256
2022-03-04T14:50:29+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 118784 bytes) en /var/www/vhosts/cialainsa.com/httpdocs/wp-admin/includes/admin.php en la línea 35
2022-03-04T14:50:29+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) en /var/www/vhosts/cialainsa.com/httpdocs/wp-includes/pomo/translations.php en la línea 100
Hi @elisdev,
A similar issue was solved by setting
WP_DEBUG
totrue
, and thenWP_DEBUG_DISPLAY
set tofalse
.define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false );
Can you please try that and see if it solves the issue?
Hello,
You can run a conflict test to check if it solves the issue:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If the issue is not present after that you can then reactivate plugins one by one until the cause of the problem is found You can find a more detailed explanation on how to do a conflict test here.
If that does not make a difference, you can
hide PHP warnings
so that they don’t disrupt the customer’s shopping experience. There is an (old) article that explains that, please check:I hope this points you in the right direction.
Have same problem too in plugin Side Cart WooCommerce
debug false not resolve a problem,
it s only off message about error.
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );Проблему нужно решать не отключением debug, а исправлением ошибки в php файле
- This reply was modified 2 years, 3 months ago by marlinka.
Hi @marlinka
If you are not the original poster (who started this discussion) and the already provided answers did not help you, then please click the link below to create your own, new discussion, so we can assist you individually, without bothering the original poster. Thanks!
https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0
Continuing to ask questions on an existing discussion, will most likely not assist you in getting the best guidance.
This decision
woocommerce/includes/class-wc-cart.php on line 2032
find this file in way (class-wc-cart.php) and change * (or +) on this .
error
$row_price = $price * $quantity;change on this
$row_price = $price . $quantity;and its ok
- This reply was modified 2 years, 3 months ago by marlinka.
Не вижу смысла начинать новое обсуждение той же самой проблемы, особенно, если автор не получил адекватного решения своей проблемы.
Пожалуйста.
- The topic ‘Warning: A non-numeric value encountered class-wc-cart.php on line 2032’ is closed to new replies.