wpsnoop Fatal error: Cannot redeclare as_has_scheduled_action()

If you are dealing with a WordPress issue where a PHP Function as_has_scheduled_action() was already declared it is most likely due to a plugin/theme conflict.

wpsnoop scanned and analyzed over 100,000 WordPress plugins and themes to find and locate potential conflicts including functions that share the same name.

This page has information on the 26 places where that function is declared and used in WordPress plugins and themes.

Note: Our database currently only taps into the free themes and plugins available in the publicly available WordPress plugins and themes, if your site uses paid plugins, themes or custom code there may be additional conflicts.


Our database has uncovered 26 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/email-subscribers/lite/includes/libraries/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Email Subscribers & Newsletters and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/woocommerce/packages/action-scheduler/functions.php:220)

This file is part of the WordPress plugin WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/moceansms-order-sms-notification-for-woocommerce/lib/action-scheduler/functions.php:220)

This file is part of the WordPress plugin MoceanAPI WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/kudos-donations/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Kudos Donations and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/segment-for-wp-by-in8-io/includes/action-scheduler/functions.php:227)

This file is part of the WordPress plugin Segment for WP by in8.io and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/simply-schedule-appointments/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Simply Schedule Appointments and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Migrate WP Cron to Action Scheduler and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/wp-health/thirds/action-scheduler/functions.php:220)

This file is part of the WordPress plugin WP Umbrella and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Action Scheduler and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/pronamic-ideal/packages/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Pronamic Pay and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Rank Math SEO and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/defender-security/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Defender and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/wp-marketing-automations/libraries/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Autonami Marketing Automations For WordPress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/widget-for-eventbrite-api/includes/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Display Eventbrite Events and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/wunderautomation/src/action-scheduler/functions.php:220)

This file is part of the WordPress plugin WunderAutomation and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/podcast-importer-secondline/lib/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Podcast Importer SecondLine and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/smart-image-resize/libraries/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Smart Image Resize for WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/totalcontest-lite/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin TotalContest – Lite and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/totalpoll-lite/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin TotalPoll – Lite and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/how-many-posts/src/action-scheduler/functions.php:220)

This file is part of the WordPress plugin How Many Posts? and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/auto-youtube-importer/lib/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Auto YouTube Importer and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/cartflows/libraries/action-scheduler/functions.php:220)

This file is part of the WordPress plugin CartFlows and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin WP Auto Republish and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Email Notifications For WP ULike and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/site-reviews/vendors/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin Site Reviews and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare as_has_scheduled_action() (previously declared in wp-content/plugins/watchtowerhq/vendor/woocommerce/action-scheduler/functions.php:220)

This file is part of the WordPress plugin WatchTowerHQ and could be interacting with another theme or plugin and causing a fatal error.

The error occurs because two (or more) plugins that you are using are both trying to declare a function with the same name.