You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Warning: Warning: Undefined property: stdClass::$priority in [...]/libraries/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 379#958
Closed
strarsis opened this issue
Jun 6, 2023
· 3 comments
It's possible this is happening because your database structure was not updated during the most recent Action Scheduler update. To verify this, would you be comfortable running the following query?
-- Update the table prefix ("wp_") as needed.
DESCRIBE wp_actionscheduler_actions
You should see several rows in the response. Is this one ("priority") among them?
Field
Type
Null
Default
priority
tinyint unsigned
NO
10
If the priority field is not present, and if you have access to WP CLI, you might try running the following command to fix things:
PHP 8 reports a PHP warning with current
action-scheduler
:The text was updated successfully, but these errors were encountered: