wpsnoop Fatal error: Cannot redeclare is_ajax()

If you are dealing with a WordPress issue where a PHP Function is_ajax() 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 34 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 34 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/wp-club-manager/includes/wpcm-conditional-functions.php:98)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/projects-by-woothemes/projects-core-functions.php:132)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/woocommerce/includes/wc-conditional-functions.php:267)

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 is_ajax() (previously declared in wp-content/plugins/sezame/sezame.php:103)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/crop-and-resize-images/includes/library.php:167)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/colorshop/colorshop-core-functions.php:550)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/wp-weixin/functions.php:47)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/wp-inspect/inc/functions.php:59)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/woocommerce/includes/wc-conditional-functions.php:264)

This file is part of the WordPress plugin Norsani, The Multi-Vendor online Food Ordering System. and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/ajax-theme/ajax-theme.php:159)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/webappick-product-feed-for-woocommerce/includes/helper.php:68)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/restaurantpress/includes/rp-conditional-functions.php:76)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/jigoshop/jigoshop.php:1298)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/online-restaurant-reservation/includes/orr-conditional-functions.php:35)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/masvideos/includes/masvideos-conditional-functions.php:31)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/m2wp/magento2-integration.php:416)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/propertyhive/includes/ph-conditional-functions.php:59)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/turgenev/includes/tgev-core-functions.php:45)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/dynamic-slideshow/function.php:74)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/sportspress/includes/sp-conditional-functions.php:190)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/wp-hotelier/includes/htl-conditional-functions.php:32)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/ovic-addon-toolkit/includes/classes/ovic-core-functions.php:19)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/everest-forms/includes/evf-conditional-functions.php:20)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/quickstart/inc/utilities.php:19)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/wp-safe-search/wp-safe-search.inc.php:9)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/music-press-pro/includes/music-press-core-functions.php:107)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/mailpoet-bbpress-add-on/includes/mailpoet-bbpress-addon-conditional-functions.php:23)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/reamaze/includes/reamaze-functions.php:16)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/mailpoet-paid-memberships-pro-add-on/includes/mailpoet-paid-memberships-pro-addon-conditional-functions.php:23)

This file is part of the WordPress plugin MailPoet Paid Memberships Pro Add-on and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/press-events/includes/bm-pe-conditional-functions.php:83)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/lucidlms/includes/lucid-conditional-functions.php:144)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/quizzlestick/core/icit-helpers.php:1168)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/apptivo-ecommerce/apptivo_ecommerce.php:279)

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

PHP Fatal error: Cannot redeclare is_ajax() (previously declared in wp-content/plugins/wp-deals/wpdeals.php:318)

This file is part of the WordPress plugin WP Deals 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.