• Resolved yeye97

    (@yeye97)


    Hello,

    I am facing with a problem on the Woocommerce plugin installation. I mean I can install the plugin but after when I activate the plugin I have a problem.

    Configuration:
    PHP server = 7.3.23
    Divi version = 4.6.6

    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
    INSERT INTO prefixDB_actionscheduler_actions (hook, status, scheduled_date_gmt,
    scheduled_date_local, schedule, group_id, args) VALUES
    (‘action_scheduler/migration_hook’, ‘pending’, ‘2020-10-29 10:13:23’, ‘2020-10-29
    11:13:23’, ‘O:30:\”ActionScheduler_SimpleSchedule\”:2:
    {s:22:\”\0*\0scheduled_timestamp\”;i:1603966403;s:41:\”\0ActionScheduler_SimpleSchedule\0timestamp\”;i:160
    ‘1’, ‘[]’)
    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘0’
    for key ‘PRIMARY’ in /sitePath/wpcontent/
    plugins/woocommerce/packages/actionscheduler/
    classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0
    /sitePath/wpcontent/
    plugins/woocommerce/packages/action-scheduler/classes/datastores/
    ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator-
    >save_action(Object(ActionScheduler_Action), NULL) #1
    /sitePath/wpcontent/
    plugins/woocommerce/packages/actionscheduler/
    classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore-
    >save_action(Object(ActionScheduler_Action)) #2
    /sitePath/wpcontent/
    plugins/woocommerce/packages/actionscheduler/
    classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory-
    >store(Object(Action in
    /sitePath/wpcontent/
    plugins/woocommerce/packages/actionscheduler/
    classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    Does anyone have a clue or a solution ?

    Best regards,

    Nicolas Chris

    • This topic was modified 4 years, 4 months ago by yeye97.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate entry ‘0’ for key ‘PRIMARY’ is closed to new replies.