Wiki History page errors with Shortcodes Ultimate

Using the ‘Shortcodes Ultimate’ with my theme:

http://wordpress.org/plugins/shortcodes-ultimate/

I am getting this error on some of the history pages in the wiki:

Fatal error: Invalid hex color length in …/inc/plugin/shortcodes/lib/color.php on line 57

The check it’s erroring on:

// Check Hex string

switch ( strlen( $supplied_hex = ( str_replace( ‘#’, ”, trim( $supplied_hex ) ) ) ) ) {

case 3:

if ( preg_match( ‘/^([0-9a-f])([0-9a-f])([0-9a-f])/i’, $supplied_hex ) ) {

$supplied_hex = preg_replace( ‘/^([0-9a-f])([0-9a-f])([0-9a-f])/i’, ‘\1\1\2\2\3\3’, $supplied_hex );

} else {

trigger_error( “Invalid hex color value”, E_USER_ERROR );

}

break;

case 6:

if ( !preg_match( ‘/^[0-9a-f]{2}[0-9a-f]{2}[0-9a-f]{2}$/i’, $supplied_hex ) ) {

trigger_error( “Invalid hex color value”, E_USER_ERROR );

}

break;

default:

trigger_error( “Invalid hex color length”, E_USER_ERROR ); /* this is line 57 where it errors */

}

I understand it’s looking for a 3 or 6 value hex color, but I don’t understand where from or how to fix it? Can you help me with this issue?

It only seems to occur on clicking the history tab of the wiki.

Thanks in advance!