wpsnoop Fatal error: Cannot redeclare getuserip()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/wls-wp-integration/wls-wp-integration-functions.php:4)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/zingiri-forum/includes/shared.inc.php:145)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/zingiri-hoster/zing.subs.inc.php:135)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/zingiri-tickets/includes/shared.inc.php:145)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/zingiri-web-shop/fws/includes/subs.inc.php:464)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/bug-tracker/includes/shared.inc.php:145)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/secontactform/secontactform.php:28)

This file is part of the WordPress plugin SEContactForm (sms email contact form) and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/secontactverificationform/secontactverificationform.php:29)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/convertifier-browser-push-notification/convertifier-push.php:257)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/clientexec-bridge/includes/shared.inc.php:139)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/webjunk-phplist/includes/shared.inc.php:145)

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

PHP Fatal error: Cannot redeclare getuserip() (previously declared in wp-content/plugins/whmcs-bridge/includes/shared.inc.php:139)

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