Portfolio block in main page does not work after update all modules

Portfolio block in main page does not work after adding RTL language and update all modules i get this notice error:

Notice: Undefined index: uri in evolve_bootstrap_carousel_if() (line 175 of /home2/tsiir/public_html/sites/all/themes/evolve/template.php

Hi,

Are you using D7 or D8 version? Could you please create a ticket then send us the url, admin account for checking?

Thanks!

sub.

same error here

Hi,

Please replace the evolve_bootstrap_carousel_if function by the new one below:

function evolve_bootstrap_carousel_if($vars) {
  $files = array();
  foreach ($vars['items'] as $file) {
        if($file){
            if ($vars['background']) {
                $files[] = '<div style="width: ' . check_plain($vars['width']) . '; height: ' . $vars['height'] . '; background-position: ' . $vars['background_pos'] . '; background-size: cover; background-image: url(' . file_create_url($file['uri']) . ');"></div>';
            } else {
                $type = ($vars['image_style']) ? 'image_style' : 'image';
                $file['style_name'] = ($vars['image_style']) ? $vars['image_style'] : '';
                $file['path'] = $file['uri'];
                $files[] = theme($type, $file);
            }
        }
  }
  $filecount = count($files);
  $output = '
      <div id="' . $vars['id'] . '" class="carousel slide dexp_carousel" data-ride="carousel" data-interval="' . $vars['interval'] . '" data-pause="' . $vars['pause'] . '" data-wrap="' . $vars['wrap'] .'" data-keyboard="' . $vars['keyboard'] . '">';
  if ($vars['indicators'] && $filecount > 1) {
        $output .= '<!-- Indicators -->
        <ol class="carousel-indicators">';
        for ($i = 0; $i < $filecount; $i++) {
          if (!$i) {
            $output .= '<li data-target="#' . $vars['id'] . '" data-slide-to="0" class="active"></li>';
          } else {
            $output .= '<li data-target="#' . $vars['id'] . '" data-slide-to="' . $i . '"></li>';
          }
        }
        $output .= '</ol>';
  }

  $output .= '<div class="carousel-inner" role="listbox">';
  // Files/slides
  for ($i = 0; $i < $filecount; $i++) {
    $output .= (!$i) ? '<div class="item active">' : '<div class="item">';
    $output .= $files[$i];
    $output .= '</div>';
  }
  $output .= '</div>';
  if ($filecount > 1) {
    $output .= '<!-- Controls -->
          <a class="left carousel-control" href="#' . $vars['id'] . '" role="button" data-slide="prev">
            <span class="fa fa-angle-left"></span>
            <span class="sr-only">Previous</span>
          </a>
          <a class="right carousel-control" href="#' . $vars['id'] . '" role="button" data-slide="next">
            <span class="fa fa-angle-right"></span>
            <span class="sr-only">Next</span>
          </a>
    ';
  }
  $output .= '</div>';
  return $output;
}

Thanks!

In what file can i find the function? - template.php (found it.)

Changed the funtion, it doenst do anything. Style is still off.

Also i ge an error when updating:

User warning: The following module is missing from the file system: dexp_portfolio_masonry. User warning: The following module is missing from the file system: dexp_layout. User warning: The following module is missing from the file system: dexp_portfolio_masonry.

HI, CAN YOU OPEN A TICKET WITH THE SITE INFO THEN I WILL HELP YOU TO CHECK THE ISSE?

THANKS!

Ticket has been opened already last month!!!!

Hi,

We're sorry, we might lost the ticket, could you please send us the ticket number?

Thanks!