• Resolved saritamilaneze

    (@saritamilaneze)


    Estou fazendo pedidos de teste antes de lan?ar o meu site, e quando vou para o carrinho aparece que o produto n?o está disponível no estoque, porém o mesmo está disponível. Esta cadastrado e tem a quantidade “1” disponível em estoque
    Aparece essa mensagem: “Desculpe, n?o temos a quantidade suficiente de “nome do produto” em estoque para atender o seu pedido (temos apenas -5 em estoque). Pedimos desculpas por qualquer inconveniente causado.

    Este erro esta acontecendo para todos os produtos do meu site, mesmo tendo estoque.

    Preciso resolver urgente, pois temos uma estratégia de marketing para seguir e o lan?amento do site acontecerá em breve.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @saritamilaneze!

    I’m answering your request in English since it is the language of this support forum.

    The issue you have could relate to a conflict between WooCommerce and your theme or another plugin; an outdated or malfunctioning code could be interfering.

    To be sure of this, please perform a conflict test by temporarily switching your theme back to Storefront, disabling all plugins except WooCommerce, and then check again if the issue persists.

    If that solves it, reactivate the theme first and check again. Then, reactivate your other plugins, testing after each, until you find the one causing conflict.

    If you cannot perform a conflict test on your live site, we recommend creating a staging site using the WP Staging plugin.

    You can find a more detailed explanation of how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.

    Let us know how that goes for you!

    Thread Starter saritamilaneze

    (@saritamilaneze)

    Fiz o que foi dito, mas n?o resolveu. Continua com a mesma mensagem.
    Desculpe, n?o temos a quantidade suficiente de “nome do produto” em estoque para atender o seu pedido (temos apenas -5 em estoque). Pedimos desculpas por qualquer inconveniente causado.
    Todos os plugins est?o atualizados e funcionando corretamente.

    Hi @saritamilaneze

    I have added a product to cart for testing and couldn’t reproduce the issue. The item was available, and the error message you described was not displayed:

    It could be a caching issue on your end. I’d recommend clearing your browser’s cache and testing again.

    If that doesn’t help, please provide us with the following:

    * An example of a product showing the issue (link)

    * 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 logs:
    – Go to WooCommerce → Status → Logs
    – Look for a log from the drop-down labeled fatal-errors.log
    – Click View
    – Paste here in your response if any records are found

    Thread Starter saritamilaneze

    (@saritamilaneze)

    O erro aparece quando o estoque está apenas com um ou dois produtos disponíveis. Se tentar fazer a compra do produto abaixo, verá o erro.

    https://pererecastore.com.br/produto/carrossel-glitter-18g-pepper-blend/
    Sabor: brigadeiro

    Segue status do sistema:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://pererecastore.com.br
    Site address (URL): https://pererecastore.com.br
    WC Version: 6.5.1
    REST API Version: ? 6.5.1
    WC Blocks Version: ? 7.4.3
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: pt_BR
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.28
    PHP Post Max Size: 516 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 7.81.0
    OpenSSL/1.1.1m
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.41-84.1
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.5.1
    WC Database Prefix: wpxk_
    Tamanho total do banco de dados: 34.04MB
    Tamanho dos dados do banco de dados: 29.95MB
    Tamanho do índice do banco de dado: 4.09MB
    wpxk_woocommerce_sessions: Dados: 0.08MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_woocommerce_api_keys: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_woocommerce_attribute_taxonomies: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_woocommerce_downloadable_product_permissions: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wpxk_woocommerce_order_items: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_woocommerce_order_itemmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_woocommerce_tax_rates: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wpxk_woocommerce_tax_rate_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_woocommerce_shipping_zones: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_woocommerce_shipping_zone_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_woocommerce_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_woocommerce_payment_tokens: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_woocommerce_payment_tokenmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_woocommerce_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_actionscheduler_actions: Dados: 0.19MB + índex: 0.17MB + mecanismo InnoDB
    wpxk_actionscheduler_claims: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_actionscheduler_groups: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_actionscheduler_logs: Dados: 0.14MB + índex: 0.14MB + mecanismo InnoDB
    wpxk_berocket_termmeta: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_braapf_product_stock_status_parent: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_braapf_product_variation_attributes: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_braapf_term_taxonomy_hierarchical: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_braapf_variable_attributes: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_commentmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_comments: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB
    wpxk_e_events: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_e_notes: Dados: 0.02MB + índex: 0.17MB + mecanismo InnoDB
    wpxk_e_notes_users_relations: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_e_submissions: Dados: 0.02MB + índex: 0.23MB + mecanismo InnoDB
    wpxk_e_submissions_actions_log: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_e_submissions_values: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_gla_budget_recommendations: Dados: 0.22MB + índex: 0.14MB + mecanismo InnoDB
    wpxk_gla_merchant_issues: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_gla_shipping_rates: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_gla_shipping_times: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_links: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_custom_fields: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_dynamic_segment_filters: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_feature_flags: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_forms: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_mailpoet_log: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_mailpoet_mapping_to_external_entities: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_newsletters: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_mailpoet_newsletter_links: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_mailpoet_newsletter_option: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_newsletter_option_fields: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_newsletter_posts: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_newsletter_segment: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_newsletter_templates: Dados: 2.52MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_mailpoet_scheduled_tasks: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_mailpoet_scheduled_task_subscribers: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_segments: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_mailpoet_sending_queues: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_mailpoet_settings: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_statistics_bounces: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_mailpoet_statistics_clicks: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_mailpoet_statistics_forms: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_statistics_newsletters: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_mailpoet_statistics_opens: Dados: 0.02MB + índex: 0.08MB + mecanismo InnoDB
    wpxk_mailpoet_statistics_unsubscribes: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_mailpoet_statistics_woocommerce_purchases: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wpxk_mailpoet_stats_notifications: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_mailpoet_subscribers: Dados: 0.02MB + índex: 0.13MB + mecanismo InnoDB
    wpxk_mailpoet_subscriber_custom_field: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_subscriber_ips: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_subscriber_segment: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_mailpoet_user_agents: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_mailpoet_user_flags: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_options: Dados: 4.03MB + índex: 0.09MB + mecanismo InnoDB
    wpxk_postmeta: Dados: 13.47MB + índex: 0.58MB + mecanismo InnoDB
    wpxk_posts: Dados: 7.48MB + índex: 0.22MB + mecanismo InnoDB
    wpxk_termmeta: Dados: 0.05MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_terms: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_term_relationships: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_term_taxonomy: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_usermeta: Dados: 0.08MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_users: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_wc_admin_notes: Dados: 0.05MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_wc_admin_note_actions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_wc_category_lookup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_wc_customer_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_wc_download_log: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_wc_order_coupon_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_wc_order_product_lookup: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB
    wpxk_wc_order_stats: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB
    wpxk_wc_order_tax_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB
    wpxk_wc_product_attributes_lookup: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_wc_product_download_directories: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_wc_product_meta_lookup: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB
    wpxk_wc_rate_limits: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_wc_reserved_stock: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB
    wpxk_wc_tax_rate_classes: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    wpxk_wc_webhooks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB
    
    ### Post Type Counts ###
    
    attachment: 254
    awl-labels: 2
    br_product_filter: 9
    cartflows_flow: 3
    cartflows_step: 7
    customize_changeset: 18
    elementor_font: 2
    elementor_icons: 1
    elementor_library: 6
    mailpoet_page: 1
    nav_menu_item: 10
    page: 17
    post: 2
    product: 26
    product_variation: 26
    revision: 588
    shop_order: 6
    wp_global_styles: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (14) ###
    
    Advanced Woo Labels: por ILLID – 1.45
    FiboSearch - AJAX Search for WooCommerce: por FiboSearch Team – 1.18.1
    CartFlows: por CartFlows Inc – 1.9.2
    Elementor Pro: por Elementor.com – 3.7.1
    Elementor: por Elementor.com – 3.6.5
    Google Listings and Ads: por WooCommerce – 1.13.3
    Melhor Envio: por Melhor Envio – 2.11.23
    Swatchly - Variation Swatches for WooCommerce Products: por HasThemes – 1.1.5
    Visibility Logic for Elementor: por StaxWP – 2.3.0
    WC Redu??o e restaura??o de estoque: por Fernando Acosta – 1.2.6
    Advanced AJAX Product Filters for WooCommerce: por BeRocket – 1.6.2
    Brazilian Market on WooCommerce: por Claudio Sanches – 3.7.2
    Claudio Sanches - PagSeguro for WooCommerce: por Claudio Sanches – 2.14.0
    WooCommerce: por Automattic – 6.5.1
    
    ### Inactive Plugins (0) ###
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: BRL (R$)
    Currency Position: left_space
    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: –
    
    ### WC Pages ###
    
    Base da loja: #272 - /loja/
    Carrinho: ? Página n?o contém o shortcode [woocommerce_cart] ou o bloco woocommerce/cart.
    Finaliza??o de compra: ? Página n?o contém o shortcode [woocommerce_checkout] ou o bloco woocommerce/checkout.
    Minha conta: #266 - /minha-conta/
    Termos e condi??es: #593 - /politica-de-privacidade/
    
    ### Theme ###
    
    Name: Hello Elementor
    Version: 2.5.0
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    Child Theme: ? – Recomendamos você utilizar um tema filho no caso de você estiver personalizando o WooCommerce em um tema ascendente. Veja como criar um tema filho
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Concluído: 562
    Oldest: 2022-05-05 13:30:37 -0300
    Newest: 2022-06-04 00:33:59 -0300
    
    Pendente: 1
    Oldest: 2022-06-04 16:57:18 -0300
    Newest: 2022-06-04 16:57:18 -0300
    
    ### Status report information ###
    
    Generated at: 2022-06-04 00:38:56 -03:00
    

    fatal-errors-2022-05-06-4e4ba748eefd219e45bc70e5a4f91f03.log

    2022-05-06T22:04:45+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(220)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-06T22:04:52+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(220)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-06T23:48:57+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(230)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-06T23:52:14+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(230)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92

    fatal-errors-2022-05-07-4e4ba748eefd219e45bc70e5a4f91f03.log

    2022-05-07T00:02:20+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(233)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T00:08:39+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(230)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T00:08:41+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(230)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T00:12:07+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(239)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T00:17:40+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(220)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T00:18:29+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(220)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T00:21:51+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(245)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T00:26:07+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(245)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-07T19:40:50+00:00 CRITICAL Uncaught Error: Call to a member function update_meta() on bool in /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php:286
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(167): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->save_conditions(NULL, Array)
    #1 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->ajax_save_theme_template_conditions(Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #2 /home1/perere03/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php(171): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #3 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request('')
    #4 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #5 /home1/perer, em /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php, na linha 286
    
    2022-05-07T23:22:49+00:00 CRITICAL Uncaught Error: Call to a member function update_meta() on bool in /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php:286
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(167): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->save_conditions(NULL, Array)
    #1 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->ajax_save_theme_template_conditions(Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #2 /home1/perere03/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php(171): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #3 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request('')
    #4 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #5 /home1/perer, em /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php, na linha 286

    fatal-errors-2022-05-12-4e4ba748eefd219e45bc70e5a4f91f03.log

    2022-05-12T00:20:46+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(858)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-12T01:35:56+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(884)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-12T01:46:40+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_variation_attributes() in /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php:92
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/swatchly/includes/ajax-actions.php(86): Swatchly\Admin\Product_Metabox::metabox_panel_inner_html(892)
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): swatchly_ajax_reload_metabox_panel('')
    #2 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /home1/perere03/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /home1/perere03/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_swatchl...')
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/swatchly/includes/Admin/Product_Metabox.php, na linha 92
    
    2022-05-12T03:17:36+00:00 CRITICAL Uncaught Error: Call to a member function update_meta() on bool in /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php:286
    Stack trace:
    #0 /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(167): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->save_conditions(NULL, Array)
    #1 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->ajax_save_theme_template_conditions(Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #2 /home1/perere03/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php(171): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #3 /home1/perere03/public_html/wp-includes/class-wp-hook.php(307): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request('')
    #4 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #5 /home1/perer, em /home1/perere03/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php, na linha 286

    fatal-errors-2022-05-28-4e4ba748eefd219e45bc70e5a4f91f03.log

    2022-05-28T00:48:16+00:00 CRITICAL Uncaught Error: Class 'Services\ClearDataStored' not found in /home1/perere03/public_html/wp-content/plugins/melhor-envio-cotacao/melhor-envio-beta.php:315
    Stack trace:
    #0 /home1/perere03/public_html/wp-includes/class-wp-hook.php(309): Base_Plugin->{closure}(Object(Plugin_Upgrader))
    #1 /home1/perere03/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #2 /home1/perere03/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #3 /home1/perere03/public_html/wp-admin/includes/class-plugin-upgrader.php(371): do_action('upgrader_proces...', Object(Plugin_Upgrader), Array)
    #4 /home1/perere03/public_html/wp-admin/update.php(51): Plugin_Upgrader->bulk_upgrade(Array)
    #5 {main}
      thrown, em /home1/perere03/public_html/wp-content/plugins/melhor-envio-cotacao/melhor-envio-beta.php, na linha 315

    Hi @saritamilaneze!

    Thank you for sending the system status report and the error logs.

    I found that the three first error logs come from the Swatchly plugin and the last error is about the Melhor envio plugin.

    In this case, we suggest you contact the plugin developers for further assistance with those errors. If you want to contact them, please create a topic in their dedicated support forum:

    Swatchly – Variation Swatches for WooCommerce Products: https://www.ads-software.com/support/plugin/swatchly/

    Melhor Envio: https://www.ads-software.com/support/plugin/melhor-envio-cotacao/

    O erro aparece quando o estoque está apenas com um ou dois produtos disponíveis. Se tentar fazer a compra do produto abaixo, verá o erro.
    https://pererecastore.com.br/produto/carrossel-glitter-18g-pepper-blend/
    Sabor: brigadeiro

    I visited your site and couldn’t reproduce the issue you have. The product stock is seven, I added one to the cart, and no error message showed up.

    If you say this happens when the stock is one or two units for that product, kindly change it to that so we can further check.

    One thing you could try is to clear your browser’s cache as suggested by @hegenberg and check if the issue persists.

    Another thing I found in your system status report is that you are missing the shortcodes for the Cart and Checkout page.

    These shortcodes are required for WooCommerce to function properly. Kindly add the following page shortcodes to your pages:

    Cart page: [woocommerce_cart]
    Checkout page: [woocommerce_checkout]

    You can check more about how to add them here: https://woocommerce.com/document/woocommerce-shortcodes/#section-2.

    I hope this helps!

    Thread Starter saritamilaneze

    (@saritamilaneze)

    Boa tarde,

    Os erros nos plug-ins já foram corrigidos. Mas n?o é isso que está causando o erro no estoque.

    O que acontece é: tem 7 produtos no estoque, aí 6 s?o comprados e sobra 1. Na hora de comprar esse 1 que está disponível o erro aparece.

    Poderia testar seguindo essa ordem de compra por gentileza?

    Obs: n?o precisa finalizar o pagamento, apenas entrar na pagina de pagamento, logo após o pedido será cancelado.

    Isso se repete em todos os produtos do site.

    Gostaria de enviar um print, mas n?o estou conseguindo colocá-lo aqui.

    Hello,

    Sorry to hear that the issue is still present.

    Can you send a screenshot of your settings under WooCommerce > settings > products > inventory? For screenshots you may want to use https://snipboard.io – please follow the instructions on that page, then paste the URL in this thread.

    WC Redu??o e restaura??o de estoque

    Did you reach out to the plugin’s support regarding this issue? Let us know if you did and what did you find.

    We’ll look forward to hearing from you.

    Thread Starter saritamilaneze

    (@saritamilaneze)

    Olá,

    Segue o print do erro:
    https://snipboard.io/M9jbDv.jpg

    Há 1 produto em estoque, mas quando tentamos comprar ele aparece esse erro.

    Segue print das configura??es do inventário.
    https://snipboard.io/k9Zuh8.jpg
    https://snipboard.io/Ljw58n.jpg

    Mirko P.

    (@rainfallnixfig)

    Hello @saritamilaneze,

    I’m able to reproduce the out of stock message after adding the below product to the cart.

    Se tentar fazer a compra do produto abaixo, verá o erro.
    https://pererecastore.com.br/produto/carrossel-glitter-18g-pepper-blend/

    Looking at the output of the page I can see it’s an Elementor template. Both cart and checkout pages have been set up using Elementor and not WooCommerce shortcodes as outlined above by Juan.

    What you can do to figure out if this is an issue with your current Elementor configuration, is (1) duplicate your site in a staging environment – (2) use the default shortcodes for cart and checkout – (3) optional but recommended is disable all plugins except WooCommerce and change the theme to Storefront – (4) finally, check if the page here with only 1 item in stock works as intended and there is no out of stock message on cart page. At that point, you may want to report this behavior to the Elementor support team.

    Kindly note that this support forum is for questions and issues around the core WooCommerce plugin itself, and compatibility issues with third-party plugins are outside of the scope of support we are able to provide.

    Cheers.

    Hi there,

    We haven’t heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, the information provided guided you in the right direction to solve your issue. If you have any further questions, we recommend creating a new thread.

    Cheers!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Erro no estoque do produto’ is closed to new replies.