Hi there! I’m having the same problem.
It seems that the class was already in use by an other plugin: wp-mail-smtp
wp plugin list
PHP Fatal error: Cannot declare class ActionScheduler, because the name is already in use in /www/web/app/plugins/action-scheduler/classes/abstracts/ActionScheduler.php on line 10
With actionScheduler disabled:
wp shell
wp> ActionScheduler::class
=> string(15) “ActionScheduler”
wp> (new \ReflectionClass(‘ActionScheduler’))->getFileName();
=> string(116) “/www/web/app/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler.php”
Shouldn’t action scheduler check if it’s already installed since it’s supposed to be used by “other plugins”?
According to the FAQs thats what actionscheduler should do but it seems it’s not doing so?
https://actionscheduler.org/faq/
-
This reply was modified 3 years, 5 months ago by trisky. Reason: plugin name added
-
This reply was modified 3 years, 5 months ago by trisky. Reason: formatting