<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Invalid hex length</title>
		<link>http://www.themolitor.com/forums/topic/invalid-hex-length</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Invalid hex length</description>
		<language>en-US</language>
		<pubDate>Sat, 09 May 2026 19:16:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/invalid-hex-length" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27484</link>
			<pubDate>Mon, 03 Mar 2014 13:48:32 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27484@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>I can't help but think the issue is with your site specifically. I haven't had these issues occur before and the fact that some errors just come and go like that is very odd.</p>
<p>Is it possible for you to test this theme on a different hosting account/provider? It would help tremendously to rule out your hosting/server configurations as a possible cause to these problems.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27454</link>
			<pubDate>Sun, 02 Mar 2014 22:28:57 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27454@http://www.themolitor.com/forums/</guid>
			<description><p>Hi,<br />
I can send you the logo, but that doesn't matter. You can try it with another picture and result will be the same - customize option will not save the results. If watever logo(and another options) can be set in theme - that will be fine for me. Also.. yes, somehow it working with color code inside now... magic. :)<br />
PS - is it possible to change timeline settings(years to months or something like this)?<br />
Thanks.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27432</link>
			<pubDate>Fri, 28 Feb 2014 09:51:37 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27432@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>I see your site is loading now, but when I login, I also see the color code is still there. Did your site start working without having to remove the code I listed above?</p>
<p>Also, can you provide a link to the image you're trying to use for the logo? I'll try uploading it myself.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27425</link>
			<pubDate>Fri, 28 Feb 2014 08:53:19 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27425@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks, that helped. But another problem show itself out of nowere... I set the logo and other things in customize page, but then i tried replace logo with another... but it failed. After reinstalling theme, deleting logo from library and some other things logo will not appear. I experimented with site title - it dissapeared too. With others may be the same, you can test it for yourself.<br />
Sorry for troubling you and thanks.<br />
PS - is it possible to change timeline settings(months but not years or something like this)?
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27419</link>
			<pubDate>Thu, 27 Feb 2014 14:15:01 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27419@http://www.themolitor.com/forums/</guid>
			<description><p>:-)
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27418</link>
			<pubDate>Thu, 27 Feb 2014 13:50:52 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27418@http://www.themolitor.com/forums/</guid>
			<description><p>OO! Thanks! I'll try to do that tomorrow. Now in Moscow 2 am: ) I'll surely write.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27414</link>
			<pubDate>Thu, 27 Feb 2014 13:02:19 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27414@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Thanks for checking. This is very odd. I'm really at a loss for what the issue could be. My best suggestion is to just hard code the color value that is trying to be generated, which is #9C91C5.</p>
<p>To do that, open up header.php and change the following on lines 22-85 from this...</p>
<pre><code>//COLOR STUFF
function hex_shift($supplied_hex,$shift_method,$percentage=50){
	$shifted_hex_value     = null;
	$valid_shift_option    = FALSE;
	$current_set           = 1;
	$RGB_values            = array();
	$valid_shift_up_args   = array(&#039;up&#039;,&#039;+&#039;,&#039;lighter&#039;,&#039;&#62;&#039;);
	$valid_shift_down_args = array(&#039;down&#039;,&#039;-&#039;,&#039;darker&#039;,&#039;&#60;&#039;);
	$shift_method          = strtolower(trim($shift_method));
	// Check Factor
	if(!is_numeric($percentage)&#124;&#124;($percentage = (int) $percentage)&#60;0&#124;&#124;$percentage&#62;100) {
		trigger_error( &#34;Invalid factor&#34;, E_USER_ERROR );
	}
	// Check shift method
	foreach(array($valid_shift_down_args,$valid_shift_up_args) as $options){
		foreach($options as $method) {
			if($method == $shift_method) {
				$valid_shift_option = !$valid_shift_option;
				$shift_method = ($current_set === 1) ? &#039;+&#039; : &#039;-&#039;;
				break 2;
			}
		}
		++$current_set;
	}
	if(!$valid_shift_option) {
		trigger_error( &#34;Invalid shift method&#34;, E_USER_ERROR );
	}
	// Check Hex string
	switch(strlen($supplied_hex=(str_replace(&#039;#&#039;,&#039;&#039;,trim($supplied_hex))))) {
		case 3:
			if(preg_match(&#039;/^([0-9a-f])([0-9a-f])([0-9a-f])/i&#039;,$supplied_hex)) {
				$supplied_hex = preg_replace(&#039;/^([0-9a-f])([0-9a-f])([0-9a-f])/i&#039;,
				&#039;\\1\\1\\2\\2\\3\\3&#039;,$supplied_hex);
			} else {
				trigger_error( &#34;Invalid hex value&#34;, E_USER_ERROR );
			}
			break;
		case 6:
			if(!preg_match(&#039;/^[0-9a-f]{2}[0-9a-f]{2}[0-9a-f]{2}$/i&#039;,$supplied_hex)) {
				trigger_error( &#34;Invalid hex value&#34;, E_USER_ERROR );
			}
			break;
		default: trigger_error( &#34;Invalid hex length&#34;, E_USER_ERROR );
	}
	// Start shifting
	$RGB_values[&#039;R&#039;] = hexdec($supplied_hex{0}.$supplied_hex{1});
	$RGB_values[&#039;G&#039;] = hexdec($supplied_hex{2}.$supplied_hex{3});
	$RGB_values[&#039;B&#039;] = hexdec($supplied_hex{4}.$supplied_hex{5});
	foreach($RGB_values as $c =&#62; $v) {
		switch($shift_method) {
			case &#039;-&#039;: $amount = round(((255-$v)/100)*$percentage)+$v;
			break;
			case &#039;+&#039;: $amount = $v-round(($v/100)*$percentage);
			break;
			default: trigger_error( &#34;Oops. Unexpected shift method&#34;, E_USER_ERROR );
		}
		$shifted_hex_value .= $current_value = (
			strlen($decimal_to_hex = dechex($amount)) &#60; 2
			) ? &#039;0&#039;.$decimal_to_hex : $decimal_to_hex;
	}
	return &#039;#&#039;.$shifted_hex_value;
}
//MARKER HOVER COLOR
$linkColor = hex_shift($accentColor,&#039;up&#039;,35);</code></pre>
<p>...to this...</p>
<pre><code>//MARKER HOVER COLOR
$linkColor = &#039;#9C91C5&#039;;</code></pre>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27412</link>
			<pubDate>Thu, 27 Feb 2014 11:44:43 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27412@http://www.themolitor.com/forums/</guid>
			<description><p>Tried, sended another log/pass letter and some info to your profile.<br />
Thanks.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27408</link>
			<pubDate>Thu, 27 Feb 2014 10:18:33 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27408@http://www.themolitor.com/forums/</guid>
			<description><p>Thank you for sending login details.</p>
<p>I took a look and it appears the issue is unique to your setup as I'm not able to recreate this error message on my own sites. </p>
<p>Would it be possible to revert to a default setup of the theme, without the translations you have applied?</p>
<p>I'm thinking that might have something to do with it.</p>
<p>Let me know if that has any impact.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27398</link>
			<pubDate>Thu, 27 Feb 2014 08:16:25 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27398@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks a lot! I sent you the letter.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27392</link>
			<pubDate>Wed, 26 Feb 2014 15:34:28 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27392@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Please feel free to send me login details via email from my profile page: <a href="http://themeforest.net/user/themolitor" rel="nofollow">http://themeforest.net/user/themolitor</a></p>
<p>I'll be happy to take a look.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27384</link>
			<pubDate>Wed, 26 Feb 2014 12:11:32 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27384@http://www.themolitor.com/forums/</guid>
			<description><p>it's all good and all, but nothing will change this way. Theme were deactivated some time ago. If you want - I can give you log and pass, or we'll continue, sorry for my Russian, fapping. Thanks.
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27378</link>
			<pubDate>Tue, 25 Feb 2014 19:06:41 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27378@http://www.themolitor.com/forums/</guid>
			<description><p>OK :)</p>
<p>bg #ffffff<br />
base #ff007f<br />
text #000000<br />
accent #6755a6</p>
<p>my screen: <a href="http://yadi.sk/d/iLmHuxWAJZ52a" rel="nofollow">http://yadi.sk/d/iLmHuxWAJZ52a</a>
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27373</link>
			<pubDate>Tue, 25 Feb 2014 15:13:26 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27373@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>What is the actual hex value you're using? For example: #6755A6</p>
<p>I want to do a test with the same value you're using to see if the issue is common or unique to your specific setup.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27352</link>
			<pubDate>Tue, 25 Feb 2014 11:09:23 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27352@http://www.themolitor.com/forums/</guid>
			<description><p><a href="http://baby-art-foto.ru" rel="nofollow">http://baby-art-foto.ru</a><br />
If you want  i can give you login and pass for wp. Color values were set, after i changed them - nothing changed.... Thanks.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27349</link>
			<pubDate>Tue, 25 Feb 2014 10:54:58 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">27349@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Please review the theme options on the Customize page. Make sure you have color values selected for use.</p>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Anna on "Invalid hex length"</title>
			<link>http://www.themolitor.com/forums/topic/invalid-hex-length#post-27339</link>
			<pubDate>Tue, 25 Feb 2014 05:42:52 +0000</pubDate>
			<dc:creator>Anna</dc:creator>
			<guid isPermaLink="false">27339@http://www.themolitor.com/forums/</guid>
			<description><p>I installed theme, and see this error on site. Searched about the same problem - reinstalled 4 times, but nothing changed. Deactivated plugins - result not changed again.<br />
error message:"Fatal error: Invalid hex length in /home/baby-art/baby-art-foto.ru/docs/wp-content/themes/curator/header.php on line 64".<br />
type of installing: from zip-file(only one working, somehow. 2 times from wp, 2 times from mac).<br />
 Please, help. If you have questions - you are welcome.
</p></description>
		</item>

	</channel>
</rss>
