Home Forums WoodMart support forum suplied for foreach error after latest update

suplied for foreach error after latest update

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44520

    [email protected]
    Participant

    *****/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;

    #44522

    [email protected]
    Participant

    screenshoot

    Attachments:
    You must be logged in to view attached files.
    #44537

    Artem Temos
    Keymaster

    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;

Viewing 3 posts - 1 through 3 (of 3 total)