About wp_actionsscheduler_xxxx tables

  • Hello,

    I am currently testing Rank Math and I am performing different tests.
    One of the test I am doing concerns the deletion of the plugin in WordPress.
    Doing that I found even after adding the below statement in the functions.php file, 4 wp_actionscheduler_xxxx tables are remaining.
    – add_filter( ‘rank_math_clear_data_on_uninstall’, ‘__return_true’ );

    Why they are not deleted when the plugin is deleted while they are created by the plugin?

    How can they be properly deleted from the database?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The filter should clear all tables related to Rank math. Are you sure the remaining wp_actionscheduler_xxxx tables are from Rank math? These tables can come from a number of plugins other than Rank math.

    You can check what data is contained in these tables to see if it is actually data related to Rank math.

    Looking forward to helping you. Thank you.


    Hi Michael,

    What I am sure, they are created in my database when I activate Rank Math after the installation.
    I just ran a new installation in my database after I deactivated ALL plugins.
    After that the 4 tables have been created as soon as I activated Rank Math.

    If I deactivate Rank Math and then I activate it again, every time 2 new entries are added in wp_actionscheduler_actions table.
    In the hook column of wp_actionscheduler_actions it is written “action_scheduler/migration_hook” for both new created actions.

    The wp_actionscheduler_claim and wp_actionscheduler_groups tables are empty.

    In the wp_actionscheduler_logs table I can see the results of each actions:
    – action created
    – action started via WP Cron
    – action complete via WP Cron

    Do you have an idea why Rank Math creates these tables?
    Is there a condition that is causing Rank Math to create these tables?

    Thanks for your help

    Hi Michael,

    In my previous reply I made a mistake….The wp_actionscheduler_groups table is not empty but contains “action-scheduler-migration” value in the slug column.


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

You must be logged in to reply to this ticket.