wpsnoop Fatal error: Cannot redeclare hex2rgb()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/polaroid-slider-lite/functions.php:40)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/image-map-edit/image_map.php:357)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/themes/glaciar-lite/inc/extras.php:120)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/custom-admin-menu/duogeek/helper.php:90)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/post-tiles/post-tiles.php:702)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/annonces-automobile/annonces-automobile.php:2010)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/domain-replace/duogeek/helper.php:90)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/wp-eventpress/eventpress-files/lib/functions.php:51)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/dominant-color/dominant-color.php:153)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/simple-amazon-affiliate/duogeek/helper.php:90)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/themes/bonkers/inc/extras.php:56)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/moptin-email-subscription-optin-form/index.php:66)

This file is part of the WordPress plugin Moptin - Email Opt-in WordPress Plugin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/create-custom-dashboard-widget/duogeek/helper.php:90)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/nubuilder-forte/nubuilder-include.php:2441)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/siri-wp-security/functions/scripts-styles.php:5)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/themes/my-passion/inc/dynamic-styles.php:10)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/hover-image-button/hover-image-button.php:115)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/sticky-back2top-for-genesis/sb2t-init.php:154)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/cookie-eu/index.php:418)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/easy-responsive-carousel/easy-carousel.php:81)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/hq-goabroad/includes/gocaptcha.php:73)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/simple-responsive-image-gallery/duogeek/helper.php:90)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/nf-captcha/nf-captcha.php:200)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/crisp-slider/inc/crisp-slider-shortcode.php:506)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/pluginbear-likelock/index.php:248)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/easy-custom-admin-bar/duogeek/helper.php:90)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/easy-custom-login/duogeek/helper.php:90)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/stickyadmin/lib/includes/sticky_functions.php:136)

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

PHP Fatal error: Cannot redeclare hex2rgb() (previously declared in wp-content/plugins/crm-last-posts-widget/includes/functions.php:48)

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