wpsnoop Fatal error: Cannot redeclare gethost()
If you are dealing with a WordPress issue where a PHP Function gethost() 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 19 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 19 different instances of potential conflicts where different plugins or themes share the function name.
Examples of this error include:PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/small-package-quotes-purolator-edition/small-package-quotes-purolator-edition.php:319)
This file is part of the WordPress plugin Small Package Quotes - Purolator Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/small-package-quotes-ups-edition/small-package-quotes-ups-edition.php:346)
This file is part of the WordPress plugin Small Package Quotes - UPS Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/small-package-quotes-wwe-edition/woocommerceShip.php:181)
This file is part of the WordPress plugin WooCommerce WWE Small Package Quotes and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-abf-freight-edition/ltl-freight-quotes-abf-freight-edition.php:361)
This file is part of the WordPress plugin LTL Freight Quotes - ABF Freight Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-cerasis-edition/ltl-freight-quotes-cerasis-edition.php:95)
This file is part of the WordPress plugin LTL Freight Quotes - Cerasis Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-cortigo-edition/ltl-freight-quotes-cortigo-edition.php:101)
This file is part of the WordPress plugin LTL Freight Quotes - Cortigo Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-estes-edition/ltl-freight-quotes-estes-edition.php:356)
This file is part of the WordPress plugin LTL Freight Quotes - Estes Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/ltl-freight-quotes-fedex-freight-edition.php:438)
This file is part of the WordPress plugin LTL Freight Quotes - Fedex Freight Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-freightquote-edition/ltl-freight-quotes-freightquote-edition.php:107)
This file is part of the WordPress plugin LTL Freight Quotes - Freightquote Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-odfl-edition/ltl-freight-quotes-odfl-edition.php:350)
This file is part of the WordPress plugin LTL Freight Quotes - ODFL Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-purolator-freight-edition/ltl-freight-quotes-purolator-edition.php:138)
This file is part of the WordPress plugin LTL Freight Quotes - Purolator Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-rl-edition/ltl-freight-quotes-rnl-edition.php:334)
This file is part of the WordPress plugin LTL Freight Quotes - R+L Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-saia-edition/ltl-freight-quotes-saia-edition.php:335)
This file is part of the WordPress plugin LTL Freight Quotes - SAIA Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-sefl-edition/ltl-freight-quotes-sefl-edition.php:312)
This file is part of the WordPress plugin LTL Freight Quotes - SEFL Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-unishippers-edition/ltl-freight-quotes-unishippers-edition.php:95)
This file is part of the WordPress plugin LTL Freight Quotes - Unishippers Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-ups-edition/ltl-freight-quotes-ups-edition.php:407)
This file is part of the WordPress plugin LTL Freight Quotes - UPS Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/woocommercefrieght.php:138)
This file is part of the WordPress plugin WooCommerce WWE LTL Quotes and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-xpo-edition/ltl-freight-quotes-xpo-edition.php:366)
This file is part of the WordPress plugin LTL Freight Quotes - XPO Edition and could be interacting with another theme or plugin and causing a fatal error.
PHP Fatal error: Cannot redeclare gethost() (previously declared in wp-content/plugins/ltl-freight-quotes-yrc-edition/ltl-freight-quotes-yrc-edition.php:309)
This file is part of the WordPress plugin LTL Freight Quotes - YRC Edition 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.