WooCommerce: critical error in plugin activation
-
Installation specifications:
Server Version: Apache/2.4.46
WordPress version: 5.6.2
PHP Version: 7.4.15
PHP memory limit: 256MB
Theme: Astra 3.0.3
Plugin: WooCommerce 5.0.0; 4.2.0 & 4.0.0====================
Details of the problem and error messages:
When I install the Woocommerce plugin, the moment I activate it, it presents a major technical error and takes the entire site out of service.
When starting in “recovery mode” of WordPress, it indicates that the problem is the plugin that could not load completely and presents the following error information:
An error of type E_ERROR was caused in line 44 of the file /home/gceomx/subdoms/staging.gceo.mx/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php. Error message: Uncaught RuntimeException: Error saving action: Error saving action: Table ‘gceomx_wp629.wp_actionscheduler_actions’ doesn’t exist in /home/gceomx/subdoms/staging.gceo.mx/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/gceomx/subdoms/staging.gceo.mx/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/gceomx/subdoms/staging.gceo.mx/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/gceomx/subdoms/staging.gceo.mx/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /home/gceomx/subdoms/staging.gceo.mx/wp-content/plugin
Although this is a test site, the same is true for the production site; so I am sure that by solving the problem on this test site it would also be possible to solve it on the production site.
====================
Actions carried out so far:
The incompatibilities with the theme and plugins were verified, using the themes Twenty Twenty-One version: 1.1 & Storefront version: 3.5.0; and deactivating all the plugins.
The problem continues to appear when installing any of the WooCommerce versions.
Keeping the Twenty Twenty-One theme active and with all the plugins deactivated, the Action Scheduler plugin version 3.1.6 was installed (since in other entries they point out that it is a plugin that can solve the problem); and this latest plugin also has an equivalent critical bug.
So far, the only solution I have found in the forums (from someone who experienced this problem) is to completely delete the site and do a new installation of the site with the latest versions (that is, a clean installation). But this solution is not feasible to implement.
====================
Someone who could already solve this problem and who can guide me about it.
Thanks and regards
The topic ‘WooCommerce: critical error in plugin activation’ is closed to new replies.