Title: Hex is undefined
Last modified: December 15, 2020

---

# Hex is undefined

 *  Resolved [willemdev](https://wordpress.org/support/users/willemdev/)
 * (@willemdev)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/hex-is-undefined/)
 * The cookie banner isn’t loading; my error is
    ‘TypeError:_hex_is_undefined op
   regel 1 van [https://www_schrijvennaardetoekomst_nl/wp-content/plugins/complianz-gdpr/assets/js/complianz_min_js&#8217](https://www_schrijvennaardetoekomst_nl/wp-content/plugins/complianz-gdpr/assets/js/complianz_min_js&#8217);
 * the function throwing the error is:
    function getHoverColour(hex)
 * I’ve already enqeued Jquery 3.5
    -  This topic was modified 5 years, 5 months ago by [willemdev](https://wordpress.org/support/users/willemdev/).
      Reason: update
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhex-is-undefined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/hex-is-undefined/#post-13794392)
 * It looks like some settings are missing from the complianz array. Can you try
   changing some settings in the cookie banner settings? For example, try to switch
   the toggle style to “slider”, then save again.
 * Are you using any custom css?
    -  This reply was modified 5 years, 5 months ago by [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/).
 *  Thread Starter [willemdev](https://wordpress.org/support/users/willemdev/)
 * (@willemdev)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/hex-is-undefined/#post-13800222)
 * Not using custom css in complianz settings, no.
    I tried the soft-cookiewall,
   sliders, squares, classic. I tried different color schemes. I tried different
   banner styles. I think I’ve tracked it down to – of course – a plugin conflict
   with Asset Cleanup. Do you have any ideas?
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/hex-is-undefined/#post-13801545)
 * Hoi [@willemdev](https://wordpress.org/support/users/willemdev/),
 * We will have a look at Asset Cleanup, to see if we can reproduce the issue,
 * Bedankt,
 * groet Aert
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/hex-is-undefined/#post-13801761)
 * Hoi [@willemdev](https://wordpress.org/support/users/willemdev/),
 * It’s this setting: Minify inline CSS content within STYLE tags – under CSS Files
   Minification.
 * You can either disable this setting, or exclude our CSS files from minification.
 * Hope this helps,
 * Bedankt voor je feedback, groet Aert
 *  Thread Starter [willemdev](https://wordpress.org/support/users/willemdev/)
 * (@willemdev)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/hex-is-undefined/#post-13807326)
 * Yep, that’s the culprit.
 * Now to figure out how to exclude your inline styles with Asset Cleanup. But that
   can wait.
 * Troubleshooting settings with other plugins is amazing service, thanks for going
   above and beyond here.
 * Regards,
 * Willem

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hex is undefined’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [jquery error](https://wordpress.org/support/topic-tag/jquery-error/)

 * 5 replies
 * 3 participants
 * Last reply from: [willemdev](https://wordpress.org/support/users/willemdev/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/hex-is-undefined/#post-13807326)
 * Status: resolved