wpsnoop Fatal error: Cannot redeclare startswith()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/google-recommend-widget/google-recommend-widget.php:181)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/mendeleyplugin/wp-mendeley.php:2195)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/s2member-control/s2member-control.php:351)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/tx-onepager/src/functions.php:150)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/fixed-menu-anchor/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php:664)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/tandora/inc/tandora_shortcode.php:5)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/wetterwarner/wetterwarner-settings.php:186)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/passqi-mfactor/passqi-mFactor.php:435)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/topline-sites-for-apartments/includes/helpers.php:3)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/commentmood/CommentMood.php:472)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/wp-flogin/wpf-login.php:543)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/tgn-embed-everything/tgn-embed-everything.php:1217)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/wp-xintaoke/xt-core/xt-functions.php:1853)

This file is part of the WordPress plugin 新淘客WordPress插件 and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/getmecooking-recipe-template/recipe-template-functions.php:3261)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/data8-validation-for-contact-form-7/includes/d8gf-validation.php:54)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/pingeborg/pingeb_links.php:188)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/boggle-woggle/boggle-woggle.php:696)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/xqueue-maileon/class/xq_adc.php:113)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/divebook/divelog.php:297)

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

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/cashtippr-bitcoin-cash-moneybutton-payments/classes/src/phpqrcode/src/helpers/functions.php:103)

This file is part of the WordPress plugin CashTippr: Bitcoin Cash instant tips & payments for your content and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare startswith() (previously declared in wp-content/plugins/wiziapp-create-your-own-native-iphone-app/wiziapp.php:25)

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