• Resolved alansnell

    (@alansnell)


    Hi there

    Activating Wp Forms lite is crashing my site, I’ve had to disable the plugin and remove my contact page until fixed.

    Can you please advise.

    Many thanks

    Al

    Error message is as follows:

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘alansnel_twenty7.wp_actionscheduler_actions’ doesn’t exist in /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) # in /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    • This topic was modified 4 years, 8 months ago by alansnell.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello @alansnell,

    Thanks for contacting us!

    When you have some time, please try reactivating the plugin and then navigate under WPForms > Tools > Scheduled Actions, and the Action Scheduler library will try to repair itself automatically.

    However, if the website is not working after activating the plugin, then please try the solution shared in documentation here.

    Thanks!

    Thread Starter alansnell

    (@alansnell)

    Hi @prashantrai

    I can’t access “WPForms > Tools > Scheduled Actions” because activating WPFoms-lite instantly crashes the site.

    Following the link to “Troubleshoot Action Scheduler Issues (WP Mail SMTP 2.1.1)” I don’t have “WP Mail SMTP Plugin” in my plugins folder so cannot disable that.

    Running the Action Scheduler plugin also instntly crashes my site with the following error message. I have to rename the action schedular plugin to re-access the webite.

    Can you please advise further?

    Thanks

    Al

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘alansnel_twenty7.wp_actionscheduler_actions’ doesn’t exist in /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) # in /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Hello, I’m facing the same issue with WP Forms. It was crashing entire site.

    Thread Starter alansnell

    (@alansnell)

    Any futrher assistance please?
    I’ve had to switch to another forms plugin but I would rather stick with a wpforms that doesn’t crash my site @prashantrai

    Hello @alansnell,

    When you have some time, can you please double-check if you’re using the latest version of WPForms lite 1.6.1?

    Further, in case the problem is still there please try the following solutions:

    First Option:

    1. You can try following SQL query in your phpMyAdmin panel:

    DROP TABLE wp_actionscheduler_actions;
    DROP TABLE wp_actionscheduler_claims;
    DROP TABLE wp_actionscheduler_groups;
    DROP TABLE wp_actionscheduler_logs;
    DELETE FROM wp_options WHERE option_name IN ( "action_scheduler_hybrid_store_demarkation", "schema-ActionScheduler_StoreSchema", "schema-ActionScheduler_LoggerSchema", "action_scheduler_lock_async-request-runner" );

    2. After running the SQL query, you can then activate the plugin from Plugins > Installed Plugins.

    To get started with executing SQL scripts inside phpMyAdmin, please see the following tutorial.

    Second Option:

    1. Install & Activate plugin WP-DBManager
    2. Navigate under Database > Empty/Drop tables.
    3. Select actionscheduler_actions, actionscheduler_claims, actionscheduler_groups,actionscheduler_logs by clicking the select button under Drop column. Click button Empty/Drop at the bottom. Here’s a screenshot for quick reference.
    4. Open options.php page
    5. Clean the next options: action_scheduler_hybrid_store_demarkation, schema-ActionScheduler_StoreSchema, schema-ActionScheduler_LoggerSchema, action_scheduler_lock_async-request-runner and save changes.
    6. Activate WPForms lite.
    7. Delete the plugin WP-DBMigration.

    Thanks!

    • This reply was modified 4 years, 8 months ago by Prashant Rai.
    • This reply was modified 4 years, 8 months ago by Prashant Rai.
    • This reply was modified 4 years, 8 months ago by Prashant Rai.
    Thread Starter alansnell

    (@alansnell)

    Hi @prashantrai

    OPTION 2 worked for me and all is now working as it should.
    Many thanks for your help

    Regards

    Al

    OPTION ONE reslted in the following error code:
    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘alansnel_twenty7.wp_actionscheduler_actions’ doesn’t exist in /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) # in /home/alansnel/public_html/twenty7.net/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Hello @alansnell,

    We’re glad to hear that and thank you for taking the time to let us know.

    Thanks!

    Hi,
    I still have the same issue after trying both options.

    First, my database does not have the 4 tables that need to be dropped. Second, if I delete the options (or clear with the db plugin), then activate the plugin, it crashes the site and the options reappear in my db:

    SELECT * FROM wp_MYPREFIX_options WHERE option_name IN ( “action_scheduler_hybrid_store_demarkation”, “schema-ActionScheduler_StoreSchema”, “schema-ActionScheduler_LoggerSchema”, “action_scheduler_lock_async-request-runner” )

    Any clues why the woocommerce vendor code crashes the site?

    It seems to be always looking for these tables that don’t exist in my db.

    Thanks

    Hello @mariossavva,

    Thanks for contacting us!

    When you have sometime, can you please create a new post in our forum and share the error message you’re getting?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Wp Forms crashing site’ is closed to new replies.