fix for non-object error on css styling for tag cloud, if tag cloud is based on categories
debug message:
Notice: Trying to get property of non-object in [...]/wp-content/themes/wordpress-bootstrap/functions.php(271) : regexp code on line 1