• Resolved schobbelover1

    (@schobbelover1)


    Hi everyone,
    really getting desperate lately and countless hours of research and trying to fix the issue myself led to nothing..

    The issue:
    I got a Website that I would like to add a Shop-site via WooCommerce. When activating the plugin in WordPress the site crashes and I can onlny regain access by deactivating the WooCommerce Plugin via recovery mode.
    The error mail I receive says:

    WordPress-Version 5.7.1
    Aktuelles Theme: Monstroid2 Child (Version 1.0.0)
    Aktuelles Plugin: WooCommerce (Version 5.2.2)
    PHP-Version 8.0.3

    Text is in German, brief translation:

    Error of Type E_ERROR found in line 44 of the file /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php

    Uncaught RuntimeException: Error with saving the action: error with saving the action

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 44 der Datei /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php verursacht.
    Fehlermeldung: Uncaught RuntimeException: Fehler beim Speichern der Aktion: Fehler beim Speichern der Aktion: Table ‘web217_db2.cm_actionscheduler_actions’ doesn’t exist in /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44

    Stack trace:
    #0 /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL)

    #1 /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action))

    #2 /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))

    #3 /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(36): ActionScheduler_ActionFactory->single(‘action_schedule…’, Array, 1619512822, ‘action-schedule…’)

    #4 /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/Scheduler.php(89): as_schedule_single_action(1619512822, ‘action_schedule…’, Array, ‘action-schedule…’)

    #5 /home/www/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/Controller.php(99): Action_Scheduler\Migration\Scheduler->schedule_migration()

    #6 /home/www/wordpress/wp-includes/class-wp-hook.php(292): Action_Scheduler\Migration\Controller->schedule_migration(”)

    #7 /home/www/wordpress/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #8 /home/www/wordpress/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #9 /home/www/wordpress/wp-settings.php(582): do_action(‘wp_loaded’)
    #10 /home/www/wordpress/wp-config.php(123): require_once(‘/home/www/wordp…’)
    #11 /home/www/wordpress/wp-load.php(37): require_once(‘/home/www/wordp…’)
    #12 /home/www/wordpress/wp-admin/admin.php(34): require_once(‘/home/www/wordp…’)
    #13 /home/www/wordpress/wp-admin/plugins.php(10): require_once(‘/home/www/wordp…’)
    #14 {main}
    thrown

    I am not really a professional and I already tried everything Google spat out, including:

    -try older PHP versions
    -deactivate all Plugins
    -try a different theme (the twenty twenty-one theme did not work either)
    -activate action scheduler plugin
    -place WooCOmmerce folder via FTP server
    -try older WooCommerce versions

    The name popping up in the error code is the name of a database listed on the site of my hosting provider but I cannot really do something with this information myself

    Cannot count the hours I spent on this issue and I am more than happy if anyone here can help me.

    Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ross V. a11n

    (@rossviviano)

    Automattic Happiness Engineer

    Hi there,

    If you disable all plugins and change your site’s theme to Storefront, then activate WooCommerce, does it activate?

    Looking forward to hearing from you!

    Ross

    Thread Starter schobbelover1

    (@schobbelover1)

    Hi, thanks for your answer!

    Tried it straight away, but unfortunately: same result, no activation..

    Regards

    Plugin Support Ross V. a11n

    (@rossviviano)

    Automattic Happiness Engineer

    Hi again,

    Can you completely remove WooCommerce, then re-install it? To completely uninstall it, you’ll want to follow this guide-

    https://docs.woocommerce.com/document/installing-uninstalling-woocommerce/#uninstalling-woocommerce

    Best,

    Ross

    Thread Starter schobbelover1

    (@schobbelover1)

    Hi!

    Tried it, but unfortunately still nothing…

    Any other suggestions maybe?

    Regards

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    The main issue that’s laid out above is that WooCommerce is trying to use a database table that should be created when WooCommerce runs it’s installation.

    It is not being created on your site, for whatever reason.

    The table that is missing is web217_db2.cm_actionscheduler_actions

    You can try to fix this in one of 2 ways:

    * Try to have your host create that missing table (or do it manually yourself)
    * Try installing the Action Scheduler plugin as a standalone plugin to see if that forces the table to create. You can get the zip file for that plugin here: https://github.com/woocommerce/action-scheduler/releases

    You’d install that like a regular WordPress plugin.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful and you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce Plugin activation crashes site’ is closed to new replies.