• Resolved mdashfakfaysal

    (@mdashfakfaysal)


    Hello there! I accidentally deleted all my custom tables including woocommerce, action scheduler etc. while using the Wp Reset plugin.
    Now, whenever I am trying to activate the Woocommerce plugin or any plugin like wpforms, the following error is shown:
    Error Details
    =============
    An error of type E_ERROR was caused in line 44 of the file /home/freepdfboi/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php. Error message: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘freepdfboi_wp826.wpdw_actionscheduler_actions’ doesn’t exist in /home/freepdfboi/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44
    Stack trace:
    #0 /home/freepdfboi/public_html/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/freepdfboi/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action))
    #2 /home/freepdfboi/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #3 /home/freepdfboi/public_html/wp-cont

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey @mdashfakfaysal

    It looks like some of the Action Scheduler tables may have been inadvertently deleted as well. Action Scheduler is a tool WooCommerce has installed that takes care of future events like renewal, follow-ups, and other scheduled tasks in WooCommerce.

    I would try re-installing this separately to see if that will add the necessary tables back to your site. You can find the stand-alone action scheduler here. I suggest using the plugin method to install this.

    Thread Starter mdashfakfaysal

    (@mdashfakfaysal)

    Tried Your solution. It does the same thing and generates the same error.

    Thread Starter mdashfakfaysal

    (@mdashfakfaysal)

    Actually, i think that i will manually need to add the action scheduler tables in my database

    Hey again @mdashfakfaysal

    That was the goal of that solution. I was hoping that installing the plugin would have added all the necessary database tables. Please let us know if manually adding the tables resolves the issue for you.

    Thread Starter mdashfakfaysal

    (@mdashfakfaysal)

    Well it doesn’t. What it does is the same problem gets shown. I guess action scheduler is gone, for good?

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    Your server was unable to complete the WooCommerce update fully which has left you with missing database tables. You can try and create them manually:

    https://gist.github.com/conschneider/18ffe31665bdc9e6cb29b849143426e3

    Kind regards,

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot activate Woocommerce and other plugins’ is closed to new replies.