• Resolved redfevers

    (@redfevers)


    Hi,

    I hope someone has some interesting (at least) proposition, since I am going pretty insane, and with no ideas where to look anymore, and how to solve this (now my most hated 2 words are Scheduled Action or Action Scheduler)…

    For a month now, dealing with unkown error, I did update WooCommerce to latest version and after publishing new product, the site has crashed… I did restore my DB and full website to earlier working state, but the problem persist on it… fixed some DB issues and missing tables about action schedules (4 tables). The website is running (let say), but there is strange problem which I can’t figure out… in the DB table wp_actionscheduler_logs there is multiple errors every second of not succeeding WP Cron actions that have been failed, and there are millions of them, as well on the hosting side, home/domain/logs folder there is domain_com.php.error.log which is growing parallel… talking about gigabytes of date every day in DB and log folder.

    I was increasing PHP limits, but it doesn’t matter how large allowance I put in .htaccess or php.ini or wp-config file, trying to access Action Schedules, it gives an error of exceeding allowed memory.

    Accessing Tools -> Scheduled Actions (or WooCommerce -> Status -> Scheduled Actions) error:
    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 73728 bytes) in /home/ferropac/public_html/wp-includes/functions.php on line 5107

    This is WooCommerce System Report:

    
    ### WordPress Environment ###
    
    WC Version: 5.9.0
    REST API Version: ? 5.9.0
    WC Blocks Version: ? 6.4.0
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.8.0
    Log Directory Writable: ?
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: hr
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.25
    PHP Post Max Size: 512 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.79.1
    OpenSSL/1.1.1l
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.32-MariaDB-log
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.9.0
    WC Database Prefix: wp_
    Total Database Size: 1882.34MB
    Database Data Size: 1096.27MB
    Database Index Size: 786.07MB
    wp_woocommerce_sessions: Data: 10.28MB + Index: 0.20MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.17MB + Index: 0.12MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_actionscheduler_logs: Data: 1044.20MB + Index: 773.66MB + Engine MyISAM
    wp_aws_cache: Data: 0.86MB + Index: 0.00MB + Engine MyISAM
    wp_aws_index: Data: 7.28MB + Index: 3.56MB + Engine MyISAM
    wp_blc_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_blc_instances: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_blc_links: Data: 0.17MB + Index: 0.01MB + Engine MyISAM
    wp_blc_synch: Data: 0.12MB + Index: 0.14MB + Engine MyISAM
    wp_commentmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_comments: Data: 0.10MB + Index: 0.04MB + Engine MyISAM
    wp_duplicator_packages: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wp_fb3d_pages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_lockdowns: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_login_fails: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 10.29MB + Index: 1.02MB + Engine MyISAM
    wp_pmxe_exports: Data: 0.07MB + Index: 0.00MB + Engine MyISAM
    wp_pmxe_google_cats: Data: 0.26MB + Index: 0.21MB + Engine MyISAM
    wp_pmxe_posts: Data: 0.12MB + Index: 0.10MB + Engine MyISAM
    wp_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_pmxi_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_pmxi_imports: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wp_pmxi_posts: Data: 0.16MB + Index: 0.00MB + Engine MyISAM
    wp_pmxi_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_postmeta: Data: 13.61MB + Index: 4.71MB + Engine MyISAM
    wp_posts: Data: 6.19MB + Index: 0.83MB + Engine MyISAM
    wp_redirection_404: Data: 0.62MB + Index: 0.00MB + Engine MyISAM
    wp_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_redirection_items: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wp_redirection_logs: Data: 0.19MB + Index: 0.00MB + Engine MyISAM
    wp_shortpixel_folders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_shortpixel_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_termmeta: Data: 0.10MB + Index: 0.03MB + Engine MyISAM
    wp_terms: Data: 0.05MB + Index: 0.09MB + Engine MyISAM
    wp_term_relationships: Data: 0.36MB + Index: 0.49MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.05MB + Index: 0.05MB + Engine MyISAM
    wp_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_usermeta: Data: 0.42MB + Index: 0.25MB + Engine MyISAM
    wp_users: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_meta_lookup: Data: 0.30MB + Index: 0.37MB + Engine MyISAM
    wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wt_iew_action_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    3d-flip-book: 8
    attachment: 3259
    blocks: 20
    custom_css: 1
    ed_logo: 1
    nav_menu_item: 54
    page: 31
    post: 12
    product: 3069
    product_variation: 1640
    revision: 1011
    shop_order: 155
    vc_grid_item: 1
    vc4_templates: 2
    wpcf7_contact_form: 2
    wpmm_theme: 4
    yith-wcbm-badge: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (27) ###
    
    3D FlipBook: by iberezansky – 1.11.5
    Advanced Woo Search: by ILLID – 2.41
    Schema - All In One Schema Rich Snippets: by Brainstorm Force – 1.6.4
    Broken Link Checker: by WPMU DEV – 1.11.16
    Contact Form 7: by Takayuki Miyoshi – 5.5.3
    Enable Media Replace: by ShortPixel – 3.6.3
    Envato Market: by Envato – 2.0.6
    Flexible Shipping: by WP Desk – 4.10.1
    Google XML Sitemaps: by Auctollo – 4.1.1
    Insert Headers and Footers: by WPBeginner – 1.6.0
    Jetpack: by Automattic – 10.3
    OG - Better Share on Social Media: by Marcin Pietrzak – 2.9.4
    Perfect Brands for WooCommerce: by QuadLayers – 2.0.0
    PW WooCommerce Exclude Free Shipping: by Pimwick
    LLC – 1.23
    
    Really Simple SSL: by Really Simple Plugins – 5.2.0
    Redirection: by John Godley – 5.1.3
    ShortPixel Image Optimizer: by ShortPixel – 4.22.6
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.7
    W3 Total Cache: by BoldGrid – 2.1.9
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.16
    WooCommerce Blocks: by Automattic – 6.4.0
    Call for Price for WooCommerce: by Tyche Softwares – 3.3.1
    WooCommerce: by Automattic – 5.9.0
    WP Mega Menu Pro: by Themeum – 1.3.4
    WP Mega Menu: by Themeum – 1.4.2
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.1
    
    YITH WooCommerce Wishlist: by YITH – 3.3.0
    
    ### Inactive Plugins (7) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.1
    All-in-One WP Migration: by ServMask – 7.50
    Classic Editor: by WordPress Contributors – 1.6.2
    Duplicator: by Snap Creek – 1.4.3
    HookMeUp – Additional Content for WooCommerce: by GetBowtied – 1.3.5
    OnSale Page for WooCommerce: by wpgenie – 1.1.0
    WooCommerce - Store Exporter: by Visser Labs – 2.7
    
    ### Dropin Plugins (4) ###
    
    advanced-cache.php: advanced-cache.php
    db.php: db.php
    maintenance.php: maintenance.php
    object-cache.php: object-cache.php
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: BAM (KM)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    
    Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
    exclude-from-catalog (exclude-from-catalog)
    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 ###
    
    Shop base: #169 - /trgovina/
    Cart: #170 - /kosarica/
    Checkout: #171 - /placanje/
    My account: #172 - /moj-racun/
    Terms and conditions: #7101 - /uvjeti-kupovine/
    
    ### Theme ###
    
    Name: Karlo Child
    Version: 3.0
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.14.3
    Parent Theme Author URL: https://www.uxthemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart-shipping.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/terms.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product-cat.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/content-widget-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    flatsome/woocommerce/content-product_cat.php
    
    ### Action Scheduler ###
    
    Complete: 27
    Oldest: 2021-11-26 09:19:04 +0100
    Newest: 2021-11-29 14:20:10 +0100
    
    Failed: 1
    Oldest: 2021-11-26 09:19:08 +0100
    Newest: 2021-11-26 09:19:08 +0100
    
    Pending: 1
    Oldest: 2021-11-30 12:43:17 +0100
    Newest: 2021-11-30 12:43:17 +0100
    
    ### Status report information ###
    
    Generated at: 2021-11-30 00:07:55 +01:00
    

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi @redfevers,

    That’s definitely more actions than we’d expect to see. You mentioned errors regarding WP Cron. Can you post an example of those errors too?

    Thanks!

    Thread Starter redfevers

    (@redfevers)

    Hi @3sonsdevelopment ,

    Here are some errors from hosting error file, DB and WP/WC itself…

    https://ibb.co/yVBTwX7
    https://ibb.co/5BbKyVk
    https://ibb.co/3Sm0T7v
    https://ibb.co/WHCjGcB
    https://ibb.co/0trkhNX

    Thanks.

    Hey @redfevers,

    Thanks for sending those over. If you go to Tools > Site Health are you seeing any warnings about possible issues?

    If not, please install the WP Crontrol plugin. It’ll add a new section to the Tools menu called “Cron events.” Once that’s available, go there and see if there are any cron tasks that are late to run. Also, if there are any errors detected with WP Cron, they should be listed at the top of the screen.

    Let us know what you find out.

    Thread Starter redfevers

    (@redfevers)

    Hey @3sonsdevelopment ,

    In Site Health there is no issues, all good here.

    In WP Cron events, here are tasks…

    https://ibb.co/MP5RdZb
    https://ibb.co/c3C04yk
    https://ibb.co/pQVm3TT

    On the one hand, that’s good but on the other, it doesn’t get us closer to an answer.

    If this was my site, here’s what I would do.

    1. Set up a staging site to test with so nothing happens to the live site.
    2. Delete the pending scheduled actions.
    3. Deactivate WooCommerce.
    4. Activate WooCommerce again.

    If that still causes problems, I would do the same thing again, except before activating WooCommerce, I would install the standalone Action Scheduler plugin and see what happens when it’s active without WooCommerce.

    Let us know how it goes if you try this.

    Thread Starter redfevers

    (@redfevers)

    I was already making earlier 2., 3. and 4. with no changes… I didn’t check Action Scheduler without WooCommerce, will give it a try…

    Thank you.

    Hi @redfevers

    Sounds good! Let us know how it goes.

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

    Thread Starter redfevers

    (@redfevers)

    Hi Margaret,

    Sorry for late reply due to holidays. I just tried all the above, when the WooCommerce is deactivated (with all plugins deactivated as well when others are activated), there is no DB and logs entries, the problem is solved. As soon as I activate WooCommerce, the DB and logs are starting to grow…

    EDIT:
    While WooCommerce is active, the database action_scheduler_log is growing enourmus, and W3 Total Cache was the reason for host/logs error file (deactivated and it stops growth, only 5 lines of some errors)

    
    text/plain ferro-pack_com.php.error.log ( ASCII text, with very long lines )
    [29-Dec-2021 15:46:30 UTC] WordPress database error Can't DROP INDEX <code>PRIMARY</code>; check that it exists for query ALTER TABLE <code>wp_woocommerce_sessions</code> DROP PRIMARY KEY, DROP KEY <code>session_id</code>, ADD PRIMARY KEY(<code>session_id</code>), ADD UNIQUE KEY(<code>session_key</code>) made by activate_plugin, do_action('activate_woocommerce/woocommerce.php'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::install, WC_Install::create_tables
    [29-Dec-2021 15:46:30 UTC] WordPress database error Incorrect table definition; there can be only one auto column and it must be defined as a key for query ALTER TABLE wp_woocommerce_sessions CHANGE COLUMN <code>session_id</code> session_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT made by activate_plugin, do_action('activate_woocommerce/woocommerce.php'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::install, WC_Install::create_tables, dbDelta
    [29-Dec-2021 15:46:30 UTC] WordPress database error Duplicate entry '0' for key 'PRIMARY' for query ALTER TABLE wp_woocommerce_sessions ADD PRIMARY KEY  (<code>session_id</code>) made by activate_plugin, do_action('activate_woocommerce/woocommerce.php'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Install::install, WC_Install::create_tables, dbDelta
    [29-Dec-2021 15:46:31 UTC] WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO <code>wp_actionscheduler_groups</code> (<code>slug</code>) VALUES ('action-scheduler-migration') made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_schedule_single_action, ActionScheduler_ActionFactory->single, ActionScheduler_ActionFactory->store, ActionScheduler_HybridStore->save_action, ActionScheduler_DBStoreMigrator->save_action, ActionScheduler_DBStore->save_action, ActionScheduler_DBStore->get_group_id, ActionScheduler_DBStore->create_group
    [29-Dec-2021 15:47:34 UTC] WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO <code>wp_actionscheduler_groups</code> (<code>slug</code>) VALUES ('action-scheduler-migration') made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_schedule_single_action, ActionScheduler_ActionFactory->single, ActionScheduler_ActionFactory->store, ActionScheduler_HybridStore->save_action, ActionScheduler_DBStoreMigrator->save_action, ActionScheduler_DBStore->save_action, ActionScheduler_DBStore->get_group_id, ActionScheduler_DBStore->create_group
    • This reply was modified 3 years, 2 months ago by redfevers.
    Mirko P.

    (@rainfallnixfig)

    Hi @redfevers,

    Good to know you found the cause that generated numerous error logs. As for the last errors you shared it sounds like a MariaDB issue.

    Please be sure to run a WooCommerce core and WC database update to version 6.0.0 if you haven’t done it yet.

    Here’s a guide on how to safely update WooCommerce: https://woocommerce.com/document/how-to-update-woocommerce/.

    Thanks.

    Thread Starter redfevers

    (@redfevers)

    Hi @rainfallnixfig ,

    I already made update to WC 6.0.0. and updated WC DB to latest. The problem persists still… Since last night, the DB wp_actionscheduler_logs is already 1.3GB and 12 millions rows and counting…

    Best

    Mirko P.

    (@rainfallnixfig)

    Hi @redfevers,

    I see you deactivated all plugins except WooCommerce but the issue persists, have you also switched the theme to Storefront? It could be an issue with the theme, so I recommend that you follow the steps for a full conflict test.

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

    Hey @redfevers,

    This is a bit more extreme so please make a backup of the database before attempting.

    Have you tried deactivating all plugins and then deleting the action scheduler tables from the database? If you haven’t, that’s what I would try next. Completely remove them. Then activate the standalone Action Scheduler plugin so it’ll generate the tables for you.

    Then activate WooCommerce and the others. See what happens at that point.

    Let us know.

    Thanks!

    Thread Starter redfevers

    (@redfevers)

    Hi,

    @rainfallnixfig I did deactivate all, including WC, despite the fact that other plugins are activated/deactivated, when WC is activated than the DB is growing large!!! When I deactivate WC, than there is no new errors in DB, doesn’t matter if other plugins are activated or deactivated.

    @3sonsdevelopment so, not to empty the table, but to delete all 4 tables completely from DB?

    I’ve found some kind of same errors by other users here or on GitHub, saying maybe to do the following written down. I didn’t had time yet, but will check what you wrote and there ideas, hopefully nothing will get broken ??

    Open /wp-admin/options.php page on your site.
    On this page find options schema-ActionScheduler_LoggerSchema, schema-ActionScheduler_StoreSchema, and action_scheduler_migration_status and remove their values (leave them empty), save options changes.
    Activate on the Plugins page the Woocommerce plugin again.

    Hey @redfevers,

    At this point, I do think making a backup and then removing those tables would be a good move. Feel free to take those out of the options table too again after a backup has been made.

    The goal is to try and get the action scheduler set up from a clean slate.

    If you give it a try, let us know how it goes ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Strange problem with Action Scheduler / Huge growth of log file and Database’ is closed to new replies.