Hello,
We upgraded to PHP 7.2 and our pricing page wouldn’t load. I was told to send this information:
[10:06 PM] Christian
I added the is_string check
[10:06 PM] Christian
You can send that to them and they can make a proper fix
// Single Column
//...............................................
function shortcode_pricing_column( $atts, $content = null ) {
global $shortcode_pricing_table;
if(is_string($shortcode_pricing_table)){
$shortcode_pricing_table = array();
}
extract(shortcode_atts(array(
'title' => '',
'highlight' => 'false'
), $atts));
$highlight = strtolower($highlight);
// get elements
$column['title'] = $title;
$column['highlight'] = ( $highlight == 'true' || $highlight == 'yes' || $highlight == '1' ) ? true : false;
$column['content'] = do_shortcode($content);
$shortcode_pricing_table[] = $column;
//return $shortcode_pricing_table;
}