enabling plugin crashes site
-
I have a mutlisite setup. when i enable the plugin on a sub site it crashes the subsite if i do a network activate it only crashes the one subsite. i have tried to remove the plugin and re add it but that did not work. what do i need to do to do a full clean removal
the subsite members.sdkarate.ca is a clone from the main site i am thinking that may be where something went wrong. thus asking what has to be removed from the database to ensure a clean install.
The page I need help with: [log in to see the link]
-
Hi Takashi,
We have tried to replicate the issue on our end but it is working as expected. We have tested with both the network-wide activation and the site-wide activation.
Can you please check the error log of your site and let us know if you find any error related to the Email Subscribers which is causing the issue?
Let us know if you have any further queries.
Thank you for looking into this. I had not had an issue before but i had to disable it and remove some other plugins and when reactivating it when things went south.
I have checked the error logs and this is what shows up right after i activate the plugigin.
[07-Sep-2020 13:57:05 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='in-progress' ORDER BY scheduled_date_gmt DESC LIMIT 1 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->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:05 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='pending' ORDER BY scheduled_date_gmt ASC LIMIT 1 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->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:05 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='in-progress' ORDER BY scheduled_date_gmt DESC LIMIT 1 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_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:05 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='pending' ORDER BY scheduled_date_gmt ASC LIMIT 1 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_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:05 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_groups' doesn't exist for query SELECT group_id FROM r5r_11_actionscheduler_groups WHERE slug='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 [07-Sep-2020 13:57:05 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_groups' doesn't exist for query SHOW FULL COLUMNS FROM
r5r_11_actionscheduler_groups
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 [07-Sep-2020 13:57:05 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SHOW FULL COLUMNS FROMr5r_11_actionscheduler_actions
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 [07-Sep-2020 13:57:06 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='in-progress' ORDER BY scheduled_date_gmt DESC LIMIT 1 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_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:06 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='pending' ORDER BY scheduled_date_gmt ASC LIMIT 1 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_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:06 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='in-progress' ORDER BY scheduled_date_gmt DESC LIMIT 1 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_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:06 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SELECT a.action_id FROM r5r_11_actionscheduler_actions a WHERE a.hook='action_scheduler/migration_hook' AND a.status='pending' ORDER BY scheduled_date_gmt ASC LIMIT 1 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_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action [07-Sep-2020 13:57:06 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_groups' doesn't exist for query SELECT group_id FROM r5r_11_actionscheduler_groups WHERE slug='action-scheduler-migration' 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_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 [07-Sep-2020 13:57:06 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_groups' doesn't exist for query SHOW FULL COLUMNS FROMr5r_11_actionscheduler_groups
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_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 [07-Sep-2020 13:57:06 UTC] WordPress database error Table 'kzbtammy_WPAST.r5r_11_actionscheduler_actions' doesn't exist for query SHOW FULL COLUMNS FROMr5r_11_actionscheduler_actions
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_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- This reply was modified 4 years, 2 months ago by Yui. Reason: please use CODE button for proper formatting
Hi Takashi,
Thanks for sharing the error log with us. From the log messages, it looks like something has happened during the migration process of the Action Scheduler library.
This library is being used by several plugins including Email Subscribers.
If possible, can you please check if there is not any other plugin using the same library? We suspect that there can be another plugin using an older version of the Action Scheduler library which is causing the issue.
Can you also check what is the value for the ‘action_scheduler_migration_status‘ option for your network site by visiting <network-site-url>/wp-admin/options.php? Is it complete or something else?
I only have 3 plugins active on this site — LoginPress – Customizing the WordPress Login — Custom login page — All-in-One Event Calendar by Time.ly
if i disable the all in one event calendar plugin i get the error message.
There has been a critical error on your website. Please check your site admin email inbox for instructions. Learn more about debugging in WordPress.but i do not get an email.
I do not have the action scheduler plugin installed and there is no “action_scheduler_migration_status‘ anywhere to be found in the main site or sub site
Hi Takashi,
Thank you for giving us more information regarding the issue.
Can you please let me which version of the Email Subscribers currently installed on the site? The 4.4.9 version of the plugin does address this issue by creating the missing ‘actionscheduler_actions‘ table automatically.
In your case, can you please check if the ‘r5r_11_actionscheduler_actions‘ table exists in the database? If the table does not exist then there might be a permission related issue with your database which is preventing the automatic creation of the missing table. You may have to reach out to your hosting provider for further troubleshooting.
Hope this helps you. Let us know if you have any further queries.
- This reply was modified 4 years, 2 months ago by kishanranawat.
- This reply was modified 4 years, 2 months ago by kishanranawat.
I have version 4.5.6
it is odd the actionscheduler_actions table is in the database for all of my other sub sites but not for this one.
they were all crated in the same way with the same permissions
just for fun i crated a new test subsite and i am able to enable it on there no problem. I am not sure why this one sub site is not working i think i may have to rebuild from scratch.
Hi Takashi,
Thanks for your response. Glad to know that the issue is not appearing for newer subsites.
Since you have the latest version of Email Subscribers, can you visit Tools –> Scheduled Actions in the subsite’s admin dashboard and check if you get any message regarding missing Action Scheduler tables and their recreation like the one linked here.
Visiting the URL should trigger the manual recreation of tables and the issue should be resolved. Let us know what comes out.
Hope this helps you. Let us know if you have any further queries.
- The topic ‘enabling plugin crashes site’ is closed to new replies.