I am not sure what mod this is from but it has to do with additional images; I think it's from Zen lightbox.
When I add additional images in the admin and go to my store I get this error in my log. I am guessing because of php7.
PHP Fatal error: Uncaught Error: Cannot use string offset as an array
PHP Code:
$image_regular = zen_image($products_image_medium, $products_ar['products_name'], $width, $height, 'class="adt-img"');
$large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $products_id . '&pic=' . $i . '&products_image_large_additional=' . $products_image_medium, 'SSL');
$script_link = '<a href="'.$product_link.'" title="' . $products_ar['products_name'] . '">' . $image_regular .'</a>';
// List Box array generation:
$list_box_contents[$row][$col] = array('params' => 'class="item "', 'text' => array("imglink"=>$script_link, "img"=>$image_regular));
$col ++;
if ($col > (IMAGES_AUTO_ADDED -1)) {
$col = 0;
$row ++;
}
Bookmarks