• Resolved paulinnekk

    (@paulinnekk)


    Hello.

    First of all, Ive had a problem with Action Scheduler and
    saving changes in page edit, changes did not show up. The error with Action Scheduler was displayed when trying to install and enable All in one SEO, Rank Math, WP Rocket.
    In the database in actionscheduler tables, Primary Key I had ID = 0, I updated the value and added autoincrement.

    Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘0’ for key ‘PRIMARY’ in /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(327): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(315): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /home/users/multi in /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    This solved the problem with ActionScheduler, but I cant check saving pages. And more, then it started logging me out of the wordpress panel constantly, redirecting me to 404 page.

    I also thought it was a problem with no woocommerce, but I installed it after changes in database. I really dont know what is going on ??

    • This topic was modified 1 year, 6 months ago by paulinnekk.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    I hope ID=0 was the only DB issue. If there is other inappropriate data elsewhere it could be trouble. Let’s hope everything else in the DB is fine. There is likely some sort of conflict with your theme or plugins. Deactivate all plugins and switch to one of the Twenty* default themes. You should now be able to save page edits and not get redirected. Identify the problem module by restoring your theme and plugins, one at a time, testing after each.

    Thread Starter paulinnekk

    (@paulinnekk)

    Thank you for your answer. I did all this in a test environment, it seems the problem is solved. ?? In addition, I checked all the URLs in the database, a few did not match, so I corrected them manually and import database again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sorry Your Session has expired and fatal error’ is closed to new replies.