Skip to content

Rare fatal error caused by ActionScheduler not installing correctly #853

@fpcorso

Description

@fpcorso

Describe the bug

A few admins have reported an error occurring when the plugin is updated or first installed that appears to be coming from within Action Scheduler. Will update here as we have more info.

Site information

Popup Maker version: 1.11.0

Errors

One Admin reported this error in the forums here: https://wordpress.org/support/topic/version-1-11-breaks-my-site/

The error message (I replaced private information with xxxx):
Uncaught RuntimeException: Error saving action: Error saving action: Table ‘xxxxxxxxx.xxx_actionscheduler_actions’ doesn’t exist in /home/xxxxxxxx/xxxx/wp-content/plugins/popup-maker/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44

Another admin reported this stacktrace in the forums here: https://wordpress.org/support/topic/critical-error-after-update-4/#post-13124120

Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘ccw_wp.wpccw_actionscheduler_actions’ doesn’t exist in /var/www/html/wp-content/plugins/popup-maker/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 
Stack trace: #0 /var/www/html/wp-content/plugins/popup-maker/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 
/var/www/html/wp-content/plugins/popup-maker/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 
/var/www/html/wp-content/plugins/popup-maker/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 
/var/www/html/wp-content/plugins/popup-maker/packages/action-scheduler/functions.php(36): ActionScheduler_ActionFactory->single(‘action_schedule…’, in 
/var/www/html/wp-content/plugins/popup-maker/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions