wpsnoop Fatal error: Cannot redeclare is_odd()

If you are dealing with a WordPress issue where a PHP Function is_odd() 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 13 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 13 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_odd() (previously declared in wp-content/plugins/get-shortlink/gdragon/gd_functions.php:295)

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

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-forum-manager-for-bbpress/d4plib/functions/helpers.php:32)

This file is part of the WordPress plugin GD Forum Manager for bbPress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-mail-queue/d4plib/d4p.functions.php:31)

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

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-members-directory-for-bbpress/d4plib/functions/helpers.php:32)

This file is part of the WordPress plugin GD Members Directory for bbPress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-pages-navigator/gdr2/gdr2.fnc.php:37)

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

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-power-search-for-bbpress/d4plib/d4p.functions.php:31)

This file is part of the WordPress plugin GD Power Search for bbPress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-press-tools/gdragon/gd_functions.php:474)

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

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-rating-system/d4plib/d4p.functions.php:31)

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

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-security-headers/d4plib/d4p.functions.php:31)

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

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-simple-widgets/gdragon/gd_functions.php:453)

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

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-taxonomies-tools/gdragon/gd_functions.php:474)

This file is part of the WordPress plugin GD Custom Posts And Taxonomies Tools and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-topic-polls/d4plib/d4p.functions.php:31)

This file is part of the WordPress plugin GD Topic Polls for bbPress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare is_odd() (previously declared in wp-content/plugins/gd-webfonts-toolbox-lite/d4plib/d4p.functions.php:31)

This file is part of the WordPress plugin GD WebFonts Toolbox Lite 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.