I don’t know why the author wright: $options[‘args’] = $options[‘args’] . “…. this make no sens? should it be: $args = $options[‘args’]….
there are some if above, code shoudle be:
$options['args'] = (isset($options['args']) ? $options['args'] : 'unit=pt');
if($options['mode'] == 'both'){
echo wp_tag_cloud($options['args']. "&taxonomy=post_tag&number=" . $options['number'] . "&orderby=" . $options['orderBy'] . "&order=" . $options['sortOrder'] . "&smallest=" . $options['smallest'] . "&largest=" . $options['biggest']);
echo " " . wp_tag_cloud($options['args']. "&taxonomy=category&number=" . $options['number'] . "&orderby=" . $options['orderBy'] . "&order=" . $options['sortOrder'] . "&smallest=" . $options['smallest'] . "&largest=" . $options['biggest']);
} else if($options['mode'] == 'pages'){
echo wp_list_pages("echo=0&title_li=");
} else {
if ( $options['args'] == '') {
echo wp_tag_cloud($options['args']. "&taxonomy=". $options['mode'] ."&number=" . $options['number'] . "&orderby=" . $options['orderBy'] . "&order=" . $options['sortOrder'] . "&smallest=" . $options['smallest'] . "&largest=" . $options['biggest']);
}
}
https://neroxing.x10.mx/2013/07/21/wp-cirrus-args-error/