Support » Plugin: WooCommerce » Fatal Error upon activation.

  • Resolved MarkQuitter

    (@figuremeout)


    I am new to WooCommerce. I just downloaded the plugin for my managed WordPress website. Plugin will download, but if I activate the plugin it will cause a fatal error.

    I disabled ALL plugins on my website and still received the fatal error message when activating WooCommerce. Even tried installing it on my staging website and it fatal error/crashed my staging website.

    Have downloaded the zip file, have tried to install it right from the plugins page, all with the same results. Called GoDaddy hosting support, they also could not figure out the problem. Could be a WooCommerce problem. Package installer is bad on the WooCommerce plugin possibly.

    Any advice to install this plugin on my website?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Adam

    (@adamkheckler)

    … if I activate the plugin it will cause a fatal error.

    What exactly is the fatal error you’re seeing? Let us know, since it might provide some clue here.

    Thanks!

    Hers the reply I received from GoDaddy. Tried installing it in staging with no other plugins activated. Still crashed the website. Here is the message:

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WooCommerce.

    Error Details
    =============
    An error of type E_ERROR was caused in line 44 of the file /var/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php. Error message: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘mh5f42740455052.wp_gn87as4z2b_actionscheduler_actions’ doesn’t exist in /var/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44
    Stack trace:
    #0 /var/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL)
    #1 /var/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action))
    #2 /var/www/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #3 /var/www/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(36): ActionScheduler_ActionFactory->single(‘action_schedule…’, Array,

    Plugin Support Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @figuremeout!

    Based on the error, I think that the problem is that some issues appeared during the latest WooCommerce update, preventing it from generating some of the needed additional tables.

    One possible fix is to delete the mh5f42740455052.wp_gn87as4z2b_actionscheduler_actions directly from the database to force WooCommerce to generate this table again.

    Please let us know if that helps.

    Cheers!

    Plugin Support m155y5

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.