Errors when plugin active

#92983
  • Resolved Lee-Anne
    Rank Math free

    These errors crashed my server the last two days. On the live site, the only option is to turn off RankMath plugin. These errors do not show up on staging. Login info below error code.

    text/x-generic php_errorlog
    ASCII text, with very long lines
    [13-Oct-2020 15:19:43 UTC] WordPress database error Table ‘momparad_ss_st3.wp_actionscheduler_groups’ doesn’t exist for query SELECT a.*, g.slug AS group FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON a.group_id=g.group_id WHERE a.action_id=2799 made by require(‘wp-blog-header.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_SchedulerMigrationController->schedule_migration, Action_SchedulerMigrationScheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->fetch_action, ActionScheduler_HybridStore->get_store_from_action_id, ActionScheduler_DBStore->fetch_action
    [13-Oct-2020 15:20:31 UTC] WordPress database error Table ‘momparad_ss_st3.wp_actionscheduler_groups’ doesn’t exist for query SELECT a.*, g.slug AS group FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON a.group_id=g.group_id WHERE a.action_id=2799 made by require(‘wp-blog-header.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_SchedulerMigrationController->schedule_migration, Action_SchedulerMigrationScheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->fetch_action, ActionScheduler_HybridStore->get_store_from_action_id, ActionScheduler_DBStore->fetch_action
    [13-Oct-2020 15:20:33 UTC] WordPress database error Table ‘momparad_ss_st3.wp_actionscheduler_groups’ doesn’t exist for query SELECT a.*, g.slug AS group FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON a.group_id=g.group_id WHERE a.action_id=2799 made by require(‘wp-blog-header.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_SchedulerMigrationController->schedule_migration, Action_SchedulerMigrationScheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->fetch_action, ActionScheduler_HybridStore->get_store_from_action_id, ActionScheduler_DBStore->fetch_action
    [13-Oct-2020 15:21:14 UTC] WordPress database error Table ‘momparad_ss_st3.wp_actionscheduler_groups’ doesn’t exist for query SELECT a.*, g.slug AS group FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON a.group_id=g.group_id WHERE a.action_id=2799 made by require(‘wp-blog-header.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_SchedulerMigrationController->schedule_migration, Action_SchedulerMigrationScheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->fetch_action, ActionScheduler_HybridStore->get_store_from_action_id, ActionScheduler_DBStore->fetch_action
    [13-Oct-2020 15:21:30 UTC] WordPress database error Table ‘momparad_ss_st3.wp_actionscheduler_groups’ doesn’t exist for query SELECT a.*, g.slug AS group FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON a.group_id=g.group_id WHERE a.action_id=2799 made by require(‘wp-blog-header.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_SchedulerMigrationController->schedule_migration, Action_SchedulerMigrationScheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->fetch_action, ActionScheduler_HybridStore->get_store_from_action_id, ActionScheduler_DBStore->fetch_action

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

    Sorry for any inconvenience that might have been caused due to that.

    It seems like new tables are not getting created in the Database or some old plugin has left an incorrect entry.

    Please follow these steps to fix the issue:

    1. Take a complete backup of your website

    2. Install this plugin: https://wordpress.org/plugins/code-snippets/

    3. Head over to the Snippets menu in the left sidebar and click Add New
    add new snippet

    4. Give that post any name and copy the below code in the Code field

    add_action( 'init', function() {
    	delete_option( 'schema-ActionScheduler_StoreSchema' );
    } );

    5. Select ‘Only run in administration area’ option and click the Save and Activate button
    run only in admin area wordpress

    6. Open WordPress Dashboard in a new window

    7. Then deactivate recently created snippet from here
    disable snippet

    8. Then activate the Rank Math plugin again

    9. Please disable the Code Snippets plugin if you are not going to use it

    Here’s a video screencast:
    https://i.rankmath.com/79gPbv

    Please clear all the cache, including the server after following the above process.

    That should resolve the issue. Thank you.

    Hello

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

    We went ahead and fixed the issue for you.

    The plugin is working erfectly fine.

    Please let us know if you need any further assistance. We are here to help.

    I just went ahead and did this before I saw your reply. I hope that is ok. And thank you!

    Hello,

    Sure. That should be fine.

    Glad everything is working fine on your end.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Errors when plugin active’ is closed to new replies.