• Resolved curillo

    (@curillo)


    Hello,
    Can you help me?
    Since the last update of woocommerce I get this error every time I open a product(frontend) this error is generated in the log.
    `
    2022-06-24T16:48:20-05:00 CRITICAL Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Internal\ProductAttributesLookup\LookupDataStore::get_attribute_taxonomies() must be an instance of WC_Product, bool given, called in /bitnami/wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php on line 444 and defined in /bitnami/wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php:582
    Stack trace:
    #0 /bitnami/wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php(444): Automattic\WooCommerce\Internal\ProductAttributesLookup\LookupDataStore->get_attribute_taxonomies()
    #1 /bitnami/wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php(349): Automattic\WooCommerce\Internal\ProductAttributesLookup\LookupDataStore->create_data_for_variation()
    #2 /bitnami/wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php(227): Automattic\WooComme in /bitnami/wordpress/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/LookupDataStore.php on line 582

    • This topic was modified 1 year, 11 months ago by curillo.
    • This topic was modified 1 year, 11 months ago by curillo.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @curillo!

    Thank you for reaching out.

    Could you please try regenerating product lookup tables to see if it helps to solve the issue? You can do this in:

    WooCommerce → Status → Tools → Product lookup tables → Regenerate
    WooCommerce → Status → Tools → Regenerate the product attributes lookup table → Regenerate

    Let us know how it goes for you!

    Thread Starter curillo

    (@curillo)

    Hi,
    I have done it but it didn’t solve the problem.
    I have observed that in Scheduled Actions there is one 100 errors in this filter woocommerce_run_product_attribute_lookup_update_callback with the same message
    Additional attached the Get system report

    ### WordPress Environment ###
    WordPress address (URL): http://52.200.94.116
    Site address (URL): http://52.200.94.116
    WC Version: 6.6.1
    REST API Version: ✔ 6.6.1
    WC Blocks Version: ✔ 7.6.2
    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: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.52 (Unix) OpenSSL/1.1.1n
    PHP Version: 7.4.27
    PHP Post Max Size: 80 MB
    PHP Time Limit: 1000
    PHP Max Input Vars: 5000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.12
    Max Upload Size: 80 MB
    Default Timezone is UTC: ❌ Default timezone is America/Guayaquil - it should be UTC
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.6.1
    WC Database Prefix: wp_
    Total Database Size: 327.86MB
    Database Data Size: 218.84MB
    Database Index Size: 109.02MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 27.05MB + Index: 25.06MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 16.05MB + Index: 10.59MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB
    wp_elfsight_pdf_embed_widgets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mstore_checkout: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 6.08MB + Index: 1.14MB + Engine InnoDB
    wp_postmeta: Data: 93.47MB + Index: 49.84MB + Engine InnoDB
    wp_posts: Data: 50.39MB + Index: 7.83MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_ssf_wp_addon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ssf_wp_region: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ssf_wp_setting: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_ssf_wp_stores: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ssf_wp_tag: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ssf_wp_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ssf_wp_track_store: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_store_ratings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_term_relationships: Data: 4.38MB + Index: 2.47MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 4.50MB + Index: 9.98MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 9.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wrc_caches: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wrc_relations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 783
    custom_css: 2
    customize_changeset: 69
    elementor_library: 12
    htteam_member: 3
    mc4wp-form: 1
    nav_menu_item: 65
    o-discount: 1
    o-list: 1
    page: 60
    post: 7
    product: 3956
    product_variation: 38666
    revision: 1630
    shop_coupon: 1
    shop_order: 28
    shop_order_refund: 8
    tribe_events: 11
    wp_global_styles: 1
    wpcf7_contact_form: 5
    wppb-rf-cpt: 1
    wppb-ul-cpt: 1
    wpsl_stores: 9
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (42) ###
    
    Agregar meta en la orden: by La Motora – 1.0.0
    Advanced Access Manager: by Vasyl Martyniuk <vasyl@vasyltech.com> – 6.8.3
    FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.18.1
    Classic Widgets: by WordPress Contributors – 0.3
    Code Snippets: by Code Snippets Pro – 3.1.1
    Contact Form 7: by Takayuki Miyoshi – 5.6
    Custom Fonts: by Brainstorm Force – 1.3.5
    Disable XML-RPC: by Philip Erb – 1.0.1
    Duplicate Page: by mndpsingh287 – 4.4.8
    Elementor: by Elementor.com – 3.6.6
    Elfsight PDF Embed CC: by Elfsight – 1.1.1
    The Events Calendar PRO: by The Events Calendar – 5.14.1.1
    Events Widgets For Elementor And The Events Calendar: by Cool Plugins – 1.5.1
    WooCommerce Force Default Variant: by HappyKite – 1.5.2
    GTranslate: by Translate AI Multilingual Solutions – 2.9.12
    Kirki Customizer Framework: by David Vongries – 4.0.24
    Meta Box: by MetaBox.io – 5.6.4
    MStore API: by InspireUI – 3.6.0
    WP Options Importer: by Matthew Boynes – 5
    Profile Builder Pro: by Cozmoslabs – 3.7.6
    Profile Builder: by Cozmoslabs – 3.7.6
    Razzi Addons: by Drfuri – 1.3.0
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Slider Revolution: by ThemePunch – 6.5.24
    Sync by La Motora: by LaMotora.com – 1.0.0
    Team Vision for Elementor: by AD-Theme – 1.0
    The Events Calendar: by The Events Calendar – 5.16.0
    WCBoost - Variation Swatches: by WCBoost – 1.0.10
    weLaunch Framework: by weLaunch.io – 1.0.12
    Widget Menuizer: by Cornershop Creative – 1.1.1
    Conditional Discounts for WooCommerce by ORION: by ORION – 2.28.1
    WooCommerce PayPal Payments: by WooCommerce – 1.8.1
    WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.16.0
    WooCommerce Table Rate Shipping: by Bolder Elements – 4.2.1
    WooCommerce Waitlist: by Neil Pie – 2.3.2
    WooCommerce: by Automattic – 6.6.1
    Wordfence Security: by Wordfence – 7.5.11
    WP Crontrol: by John Blackbourn & crontributors – 1.12.1
    WP File Manager: by mndpsingh287 – 7.1.5
    WP REST Cache: by Acato – 2021.4.1
    WP Store Locator: by Tijmen Smit – 2.2.235
    YITH WooCommerce Wishlist: by YITH – 3.10.0
    
    ### Inactive Plugins (9) ###
    
    App Rest - Motora: by La Motora – 1.0.0
    Download Plugin: by metagauss – 2.0.4
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.7
    Profile Builder - WooCommerce Sync Add-on: by Cozmoslabs
    Adrian Spiac – 1.6.1
    
    Shipping by City for BETRS: by Bolder Elements – 1.2.2
    Smart Image Resize for WooCommerce: by Nabil Lemsieh – 1.7.6
    Soo Demo Importer: by SooThemes – 2.1
    WooThumbs for WooCommerce by Iconic: by Iconic – 4.12.0
    WP Rollback: by GiveWP.com – 1.7.1
    
    ### Must Use Plugins (1) ###
    
    WP REST Cache - Must-Use Plugin: by Richard Korthuis - Acato – 2021.3.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    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 ###
    
    Shop base: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #2 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Razzi Child
    Version: 1.0
    Author URL: http://drfuri.com
    Child Theme: ✔
    Parent Theme Name: Razzi
    Parent Theme Version: 1.3.0
    Parent Theme Author URL: http://drfuri.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: razzi/woocommerce/cart/cart-shipping.php
    razzi/woocommerce/cart/cart.php
    razzi/woocommerce/cart/mini-cart.php
    razzi/woocommerce/checkout/review-order.php
    razzi/woocommerce/myaccount/dashboard.php
    /opt/bitnami/wordpress/wp-content/plugins/profile-builder-pro/add-ons-advanced/woocommerce/templates/myaccount-edit-profile.php
    razzi/woocommerce/myaccount/form-login.php
    razzi/woocommerce/myaccount/form-lost-password.php
    razzi/woocommerce/myaccount/orders.php
    razzi/woocommerce/order/order-details-customer.php
    razzi/woocommerce/order/order-details-item.php
    razzi/woocommerce/order/order-details.php
    razzi/woocommerce/single-product/add-to-cart/external.php
    razzi/woocommerce/single-product/add-to-cart/grouped.php
    razzi/woocommerce/single-product/add-to-cart/simple.php
    razzi/woocommerce/single-product/add-to-cart/variable.php
    razzi/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    razzi/woocommerce/single-product/meta.php
    razzi/woocommerce/single-product/product-image.php
    razzi/woocommerce/single-product/product-thumbnails.php
    razzi/woocommerce/single-product/rating.php
    razzi/woocommerce/single-product/review-meta.php
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ✔
    Shop country code: EC
    WooCommerce currency supported: ✔
    PayPal card processing available in country: –
    Pay Later messaging available in country: –
    Webhook status: ✔
    Vault enabled: ✔
    Logging enabled: ✔
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-06-27 20:38:29 -05:00
    Options: ✔
    Notes: 28
    Onboarding: skipped
    
    ### Action Scheduler ###
    
    Complete: 50,039
    Oldest: 2022-05-28 00:26:55 +0000
    Newest: 2022-06-27 20:19:42 +0000
    
    Pending: 38,540
    Oldest: 2022-06-22 19:04:21 +0000
    Newest: 2022-06-27 20:07:54 +0000
    
    Failed: 2,115
    Oldest: 2022-03-18 14:07:19 +0000
    Newest: 2022-06-27 20:29:11 +0000
    
    ### Status report information ###
    
    Generated at: 2022-06-27 15:29:14 -05:00
    

    Hi @curillo! Thanks for writing back!

    Can you try to install this plugin to manage your scheduled actions?

    https://wordpress.org/plugins/wp-crontrol/

    From there, you can try to manually run recently failed scheduled actions.

    If the issue persists, I’d recommend making a conflict test, and the best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each until you find the one causing conflict. You can find a more detailed explanation of how to do a conflict test here.

    Let us know how it goes! My very best,

    Thread Starter curillo

    (@curillo)

    Hello, I have done everything recommended but it did not work.
    I found what the problem is: it is because many Scheduled Actions woocommerce_run_update_callback remain in the execution queue and these are not completed, they are created but not executed, all remain in pending status. I have had around 30,000 execution queues, that’s why it gives me the error.
    Now the problem is that I don’t know how to prevent so many from queuing. I have about 7,000 products with variations of about 14,000 product.

    • This reply was modified 1 year, 10 months ago by curillo.

    Hi @curillo

    many Scheduled Actions woocommerce_run_update_callback remain in the execution queue and these are not completed, they are created but not executed, all remain in pending status

    It is great that the cause of the problem could be identified.

    how to prevent so many from queuing

    This StackOverflow thread discusses lowering the “request limit” for cron: https://stackoverflow.com/questions/2813405/limit-the-number-of-cron-jobs-running-a-php-script . This technique should ideally prevent so many actions from queuing. Can you please see if the solutions provided there work for you?

    We haven’t heard back from you in a while, so I’m marking this thread closed for now – we’ll be here if and/or when you are ready to continue.

    Thread Starter curillo

    (@curillo)

    Hi,
    Sorry for the delay, we had to make some additional changes to the crons to avoid too many queued actions.
    The problem seems to have fixed, I just have the following question:
    When trying to solve the problem I have noticed that the following action is generated: adjust_download_permissions repeatedly one for each variation. The store does not have virtual products. Is it possible to deactivate said action (adjust_download_permissions) because it also generates a queue in the execution of the actions. I have reviewed some forums but I have not found an answer on how to disable this action since I do not need it.

    Every time a product is updated or created by the user, it creates an adjust_download_permission row in the database (even for non-downloadable products).

    This brings a problem because they end up with a huge database.

    This occurs when a variable product without any downloadable variations is updated, but not with a simple product.

    Expected behavior
    The adjust_download_permissions row in the database should only be added if the product is a downloadable product.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi again,

    I did some research on the problem you describe and it seems to be around for a while and you are not the only one.

    https://wordpress.org/support/topic/huge-action-scheduler-tables/

    There is an open GitHub issue for this as well:

    https://github.com/woocommerce/woocommerce/issues/32316

    And the best patch I could find was this: https://stackoverflow.com/questions/68533252/prevent-woocommerce-from-firing-product-update-webhook-on-rest-api-update-only

    This will probably shutdown the job all together, but it should buy you time to research a proper control statement at least.

    Hope this helps!

    Kind regards,

    Thread Starter curillo

    (@curillo)

    Hello, Thank you, it has worked correctly. As a temporary solution. I will close this thread.
    Thank you so much.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘CRITICAL Uncaught TypeError’ is closed to new replies.