Warning: Illegal string offset 'hide_classes' in /home/creativi/public_html/wp-content/plugins/authpro/content-builder/models/layouts.php on line 131
This is the code that the warning is relating to:
// mimick widgets mechanism
$instance = empty($layoutInformation['layoutData']) ? array() : $layoutInformation['layoutData'];
global $thisWidgetInstanceData;
$thisWidgetInstanceData = $instance;
//Get layout styles
$styles = $this->generateLayoutStyles($instance);
$styles['hide_classes'] = null; //override hide class in admin editor
// var_dump($instance);
?>
second one :
Warning: Illegal string offset 'show_delay_attribute' in /home/creativi/public_html/wp-content/plugins/authpro/content-builder/models/layouts.php on line 207 >
related to :
<div class="row-fluid<?php echo $styles['custom_classes'] ?><?php echo $styles['shadow_class'] ?><?php echo $styles['hide_classes'] ?><?php echo $styles['bg_effect_class'] ?>" id="layout-<?php echo $layoutNumber; ?>" style="<?php echo $styles['layout_style']; ?>" <?php echo $styles['show_delay_attribute']; ?>>
Any help would be greatly appreciated.