http://medical.fountain8.gethompy.com

There is an error massage ..

Warning: preg_match() expects parameter 2 to be string, array given in /home/hosting_users/f8_medical/www/wp/wp-content/plugins/js_composer/include/templates/shortcodes/vc_empty_space.php on line 10


what I have to do..?


FTP  ID /PW

f8_medical  /  maghan881

 

/////////////////////////////////////////////

<?php extract(shortcode_atts(array(     'height' => WPBMap::getParam('vc_empty_space','height'),     'el_class' => '' ), $atts)); $class = "vc_empty_space";

$pattern = '/^(\d*(?:\.\d+)?)\s*(px|\%|in|cm|mm|em|rem|ex|pt|pc|vw|vh|vmin|vmax)?$/'; // allowed metrics: http://www.w3schools.com/cssref/css_units.asp $regexr = preg_match($pattern,$height,$matches); $value = isset( $matches[1] ) ? (float) $matches[1] : (float) WPBMap::getParam('vc_empty_space','height'); $unit = isset( $matches[2] ) ? $matches[2] : 'px'; $height = $value . $unit;

$inline_css = ( (float) $height >= 0.0 ) ? ' style="height: '.$height.'"' : '';

$class .= $this->getExtraClass($el_class); $css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $class, $this->settings['base'], $atts );

?> <div class="<?php echo esc_attr(trim($css_class)); ?>" <?php echo $inline_css; ?> ><span class="vc_empty_space_inner"></span></div> <?php echo $this->endBlockComment('empty_space')."\n";

1 answer

0 vote

This looks like a "visual composer" question to me.  That is not an Atlassian product, so you're in the wrong place to ask questions about it.

You'll either need to explain what it has to do with JIRA, or another Atlassian product, or go find the correct forum to ask for help.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you