suplied for foreach error after latest update
-
*****/themes/woodmart/inc/builder/elements/abstract/Element.php on line 223
private function _get_params_from_vc( $params ) {
$new_params = array();
$key = array();
foreach ($params as $key => $param) {
$new_param = $this->_get_param_from_vc($param);
if( $new_param ) $new_params[$param[‘param_name’]] = $new_param;
}
return $new_params;
screenshoot
Attachments:
You must be
logged in to view attached files.
Hello,
We will fix this issue in our next theme update. Or you can try to add this code inside that function (as a first line).
if(empty($params)) return;