• Resolved John Eckman

    (@johneckman)


    Getting a “critical error has occured on this site” error when trying to activate all in one seo pack 4.7.6 on a WordPress 6.7.1 instance. Found this in PHP error log:

    [11-Dec-2024 18:55:44 UTC] PHP Fatal error:  Uncaught RuntimeException: Error saving action: Error saving action: Unknown column 'priority' in 'field list' in /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44

    I took out the actual path.

    I do not use WooCommerce on this site, and have tried resetting to default theme and disabling other plugins.

    • This topic was modified 6 months, 1 week ago by John Eckman. Reason: cleanup
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter John Eckman

    (@johneckman)

    I was able to fix this by adding the priority column to the appropriate table:

    alter table wp_actionscheduler_actions

    add priority tinyint default 10 not null;

    Though I’m not sure how I got into a scenario where that column was missing.

    I have also noted it with the action scheduler project: https://github.com/woocommerce/action-scheduler/issues/1224

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @johneckman,

    I’m happy to hear you were able to resolve the issue.

    I’m not entirely sure either why that column was missing since it’s one of our “original” table columns and not one we added in a later version through a migration. I’ll keep an eye on it though.

    Either way, if you ever run into any issues, let us know! We’ll be happy to help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critical error on activation’ is closed to new replies.