Support » Plugin: WooCommerce » Crticial Error

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter deanm1

    (@deanm1)

    I also have this error:

    Please contact your host for assistance with investigating this issue further.
    
    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
    
    https://www.theshungiteexperience.com.au/NEWDEV/wp-login.php?action=enter_recovery_mode&rm_token=Hfyh6vcR4sAI3HEsYWdEBj&rm_key=yky1LAsHnyzQZYBLUMDHT4
    
    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
    
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7.2
    Current theme: Flatsome Child (version 3.0)
    Current plugin: WooCommerce (version 5.1.0)
    PHP version 7.3.28
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 44 of the file /home2/laurice/public_html/NEWDEV/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php. Error message: Uncaught RuntimeException: Error saving action: Error saving action: Table 'laurice_newshung.wp_actionscheduler_actions' doesn't exist in /home2/laurice/public_html/NEWDEV/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44
    Stack trace:
    #0 /home2/laurice/public_html/NEWDEV/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL)
    #1 /home2/laurice/public_html/NEWDEV/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action))
    #2 /home2/laurice/public_html/NEWDEV/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
    #3 /home2/laurice/public_html/NEWDEV/wp-content/plugins/woocommer
    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    The error says

    Table ‘laurice_newshung.wp_actionscheduler_actions’ doesn’t exist

    This means that the database table for action scheduler actions (used by WooCommerce and other plugins for scheduling actions) doesn’t exist.

    That’s usually due to a hosting issue not allowing table creation.

    You can manually create the table in your database and it should be fine, or you can alternately ask your host why the table isn’t able to be created.

    Hopefully that helps! Have a great one!

    Thread Starter deanm1

    (@deanm1)

    Ok but those tables do not exist in the original DB and it worked fine? Why would this cause the critical issue, it worked fine and then stopped no updates were made?

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    I’m not sure what you mean by

    those tables do not exist in the original DB and it worked fine?

    You started with saying you were trying to activate WooCommerce which usually indicates a new install.

    WooCommerce will not work without having the proper database tables in your database.

    This is one of those tables needed.

    Thread Starter deanm1

    (@deanm1)

    No sorry, let me clarify, it’s an existing install, I tried to disable YITH Wishlist plugin, site broke, disabled all plugins and then tried to activate all again. Woocommerce now breaks site when I try to activate and YITH gives error (but not needed but error may help):

    Fatal error: Uncaught Error: [] operator not supported for strings in /home2/laurice/public_html/NEWDEV/wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/yit-plugin-registration-hook.php:20 Stack trace: #0 /home2/laurice/public_html/NEWDEV/wp-includes/class-wp-hook.php(292): yith_plugin_registration_hook('') #1 /home2/laurice/public_html/NEWDEV/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #2 /home2/laurice/public_html/NEWDEV/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home2/laurice/public_html/NEWDEV/wp-admin/plugins.php(193): do_action('activate_yith-w...') #4 {main} thrown in /home2/laurice/public_html/NEWDEV/wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/yit-plugin-registration-hook.php on line 20

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    Thanks for the clarification.

    You’ll still need to make sure that the tables that WooCommerce needs are created on your hosting.

    I’m not sure why it would work before, but it 100% needs that table to function.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    I hope you found the previous reply helpful. 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.

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