• Resolved dknut

    (@dknut)


    Hello,

    all my troubleshooting did not realy help. After findung that WC crashes my site I found this error:

    Fatal error: Uncaught RuntimeException: Fehler beim Speichern der Aktion: Fehler beim Speichern der Aktion: Datenbankfehler. in /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(36): ActionScheduler_ActionFactory->single('action_schedule...', Array, 1633434476, 'action-schedule...') #4 /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/Scheduler.php(89): as_schedule_single_action(1633434476, 'action_schedule...', Array, 'action-schedule...') #5 /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/Controller.php(99): Action_Scheduler\Migration\Scheduler->schedule_migration() #6 /www/htdocs/w01c3950/eob/wp-includes/class-wp-hook.php(303): Action_Scheduler\Migration\Controller->schedule_migration('') #7 /www/htdocs/w01c3950/eob/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #8 /www/htdocs/w01c3950/eob/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #9 /www/htdocs/w01c3950/eob/wp-settings.php(600): do_action('wp_loaded') #10 /www/htdocs/w01c3950/eob/wp-config.php(86): require_once('/www/htdocs/w01...') #11 /www/htdocs/w01c3950/eob/wp-load.php(50): require_once('/www/htdocs/w01...') #12 /www/htdocs/w01c3950/eob/wp-admin/admin.php(34): require_once('/www/htdocs/w01...') #13 /www/htdocs/w01c3950/eob/wp-admin/index.php(10): require_once('/www/htdocs/w01...') #14 {main} thrown in /www/htdocs/w01c3950/eob/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44
    What does it mean? I looked into DPStoreMigrator which seems good enough for storing the last action.

    Thanks

    Detlef

    • This topic was modified 3 years, 5 months ago by dknut. Reason: strong parts were not shown like i thouth

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dknut

    (@dknut)

    Just as Information:
    WordPress-Version 5.8.1
    Aktuelles Theme: Storefront (Version 3.9.1)
    Aktuelles Plugin: WooCommerce (Version 5.7.1)
    PHP-Version 8.0.10

    Mirko P.

    (@rainfallnixfig)

    Hi @dknut,

    The error message suggests that your database got somehow corrupted probably during database migration. I recommend making a full backup of your site and database and trying to restore your database to a previous functioning state when no errors occurred.

    If there is no saved backup you can ask your host – normally most hosting providers keep a copy of the database on their servers.

    Here’s also a useful article you can look at in order to try to fix the issue: https://clicknathan.com/web-design/woocommerce-actionscheduler-table-error/

    Thanks.

    Thread Starter dknut

    (@dknut)

    Thanks, @rainfallnixfig!
    It was a restore from a full backup of databese and files. files were all theer, database did not say any errors. Only WooCommerce did not work. Could not be activated.
    I will give it a try. What ist written in the article.

    • This reply was modified 3 years, 5 months ago by dknut.
    Thread Starter dknut

    (@dknut)

    The article was the help. I don’t know how comes all this NULL in one row if I backup and restore the database. But empty the tables was the solution in my case.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘fatal errror on activate’ is closed to new replies.