I would also recommend changing line 238 of cb.core.php from:
if ( ( count( $userParams ) > 0 ) && in_array( $_CB_framework->getCfg( "frontend_userparams" ), array( '1', null) ) ) {
to:
if ($userParams !== false && ( count( $userParams ) > 0 ) && in_array( $_CB_framework->getCfg( "frontend_userparams" ), array( '1', null) ) ) {
since it is possible that JParameter::getParams could return false, and count(false) returns 1 for some reason.