在----- joomla中为foreach()提供的无效参数

This Is My Full Error

Warning: Invalid argument supplied for foreach() in /home/techandw/public_html/plugins/system/helix/shortcodes/column.php on line 31

31 line is

foreach ($columnArray as $key=>$value) $html .='<div class=' . $value['class'] . '>' . do_shortcode($value['content']) . '</div>';

Can anyone help me how i can fix this error

Check $columnArray variable it is not passing as array. You can check using var_dump

 var_dump($columnArray);

It is good practice to check array before using it.

if(!empty($columnArray)) {
        foreach ($columnArray as $key=>$value) {

         ---
     }

}