wpsnoop Fatal error: Cannot redeclare hex2rgba()

If you are dealing with a WordPress issue where a PHP Function hex2rgba() 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 hex2rgba() (previously declared in wp-content/plugins/stranoweb-ajax-login/includes/functions/functions-colors.php:10)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/avaibook/avaibook.php:337)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/themes/zeal/inc/zeal/zeal.php:536)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/ns-custom-alert-popup-box/ns-wordpress-custom-alert-popup-box-admin.php:141)

This file is part of the WordPress plugin NS WordPress Custom Alert Popup Box and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/themes/figero/functions.php:401)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/shift8-full-navigation/components/functions.php:215)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/themes/avante-lite/inc/customizer.php:1948)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/footer-pop-up-banner/footer-pop-up-banner.php:185)

This file is part of the WordPress plugin Footer Pop-up Banner and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/themes/blogger-light/inc/extras.php:48)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/grid-wud/grid-wud.php:295)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/audio-player-with-playlist-ultimate/includes/apwpultimate-functions.php:27)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/highlight-focus/inc/functions.php:4)

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

PHP Fatal error: Cannot redeclare hex2rgba() (previously declared in wp-content/plugins/quizlord/quizlord.php:12)

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