wpsnoop Fatal error: Cannot redeclare is_login_page()

If you are dealing with a WordPress issue where a PHP Function is_login_page() 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 15 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 15 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_login_page() (previously declared in wp-content/plugins/puzzler/puzzler.php:148)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/ns-adblock-blocker/ns-adblock-blocker.php:119)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/pixel-perfect/pixel-perfect.php:28)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/all-in-one-login-pack/wordpress-custom-login/custom_login_helper.php:4)

This file is part of the WordPress plugin All-In-One Login Pack and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/rpx/rpx.php:189)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/basic-authentication-setting/basic-authentication-setting.php:54)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/loginwall-for-wp-beta/loginwall.php:132)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/evg-google-recaptcha/functions.php:285)

This file is part of the WordPress plugin Login With Google reCaptcha For WordPress And Woocomerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/session-save-user/session-save-user.php:16)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/wp-tweaks/inc/helpers.php:5)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/https-domain-alias/https-domain-alias.php:322)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/ban-system-by-ipcountry/chk.php:5)

This file is part of the WordPress plugin Ban System by IP and Country and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/plugins/wp-autoloader/lib/WPAutoloader/inc.shortcuts.php:69)

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

PHP Fatal error: Cannot redeclare is_login_page() (previously declared in wp-content/themes/ekiline/inc/theme-optimizescripts.php:211)

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

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

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