• Resolved rain321

    (@rain321)


    I am on shared server resource hosting wordpress website with event calendar plugin. For the past month, hosting provider reports, high CPU utilization. Turned on quering monitoring and verified that it was quering too many times in the order of 7000 as you move from one menu to another. Had optimized database directly within myphpadmin and also using WS-Optimize database optimization. None of this helped. Reverted to previous version of event calender and truncated the database sqba_shepherd_tec_tasks. For last one day CPU utilization has been normal. Is there any further update to this ?

    23083411 | my db name | localhost | my db name | Query | 0 | Statistics | SELECT * FROM sqba_shepherd_tec_tasks WHERE args_hash = ‘shepherd_tidy_0c5564376533f4104430960ec7 | 0.000 |

    After one day sqba_shepherd_tec_tasks database is now populated with 6 records. It appears it is slowly populated records in the table.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @rain321 ,

    Thank you for reaching out and following up.

    As you may already know, this is a known issue with recent versions of The Events Calendar. Our products team prioritize bugs by taking into consideration the number of users impacted as well as how the bug impacts one’s ability to run an event/sell tickets. I don’t have a specific timeline as to when this issue will be resolved, but trust that our team is aware and actively working on a solution. Our team communicates updates and bug fixes in our newsletter and via our changelog.

     In the meantime, kindly check if you have a high number of records in your database for the sqba_shepherd_tec_tasks table. If you do, the recommended action is to delete all rows from the sqba_shepherd_tec_tasks table and apply the following code snippet to prevent further build-up of the said table.

    add_action( 'tribe_common_loaded', function () { remove_action( 'init', [ tribe( TEC\Common\StellarWP\Shepherd\Regulator::class ), 'schedule_cleanup_task' ], 20 ); } );

    Thanks again for reporting this issue and for using The Events Calendar! Have a great day.

    Internal Bug Ticket Reference: TCMN-193

    @rain321 @tristan083

    I’ve experienced this bug on several sites as well and just implemented this fix on one site which seems to have made a difference and the table is not actively growing.

    Not sure if it is related, but I have been seeing a database error for a missing related table:

    [26-Oct-2025 00:10:13 UTC] WordPress database error Table 'wp_shepherd_tec_task_logs' doesn't exist for query DELETE FROM wp_shepherd_tec_task_logs WHERE task_id IN (25) made by do_action_ref_array('action_scheduler_run_queue'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_Abstract_QueueRunner->run_cleanup, ActionScheduler_QueueCleaner->clean, ActionScheduler_QueueCleaner->delete_old_actions, ActionScheduler_QueueCleaner->clean_actions, ActionScheduler_QueueCleaner->delete_actions, ActionScheduler_DBStore->delete_action, do_action('action_scheduler_deleted_action'), WP_Hook->do_action, WP_Hook->apply_filters, TEC\Common\StellarWP\Shepherd\Provider->delete_tasks_on_action_deletion, TEC\Common\StellarWP\DB\DB::__callStatic, TEC\Common\StellarWP\DB\DB::runQueryWithErrorChecking, TEC\Common\StellarWP\DB\DB::TEC\Common\StellarWP\DB\{closure}, call_user_func_array

    Just wanted to contribute that in case it is helpful in fixing that bug.

    Thanks for the temporary solution!

    Yes, this continues to impact my clients as well (I’ve made a post here in the past).

    Just today a client’s site was completely down because of this. They are demanding I switch events plugins and migrate all of their events. I can’t blame them.

    A bug like this that completely takes down a website, from a plugin this popular and widely-used, is troubling. This is the last time I use this plugin on any website. I can’t take this risk again.

    Plugin Support Darian

    (@d0153)

    Hi @natereist and @app1e5auce , thank you both for sharing your experiences and details about the issue.

    I completely understand how frustrating this situation is, especially when it affects client sites. The information about the missing wp_shepherd_tec_task_logs table and your confirmation that the temporary fix helped stabilize things is really helpful. It gives our team more insight into what might be contributing to the database growth problem.

    Right now, our developers are already working on this bug and are actively investigating a long-term solution to prevent this behavior. While the fix isn’t included in the current release yet, we’re monitoring this closely and will update this thread as soon as a permanent fix becomes available.

    In the meantime, continuing to use the temporary solution you mentioned above is the best way to keep your sites stable.

    We truly appreciate your patience and feedback.

    If you have further questions or concerns, please feel free to open a separate thread for us to strictly follow WP Forum Guidelines.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It seems we haven’t heard back from you in a while, so I’ll go ahead and close this thread for now. Rest assured, we will update you through this thread once the fix is out.

    If you still need help, feel free to reopen it or start a new one—our team is always here to assist!

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.