</div> <? array_shift($smallImages); ?> <?php
if(count($smallImages) > 3) {
$smallImgCounter = 1;
echo '<div class="marketplace_page__card_smallImages smallImages-slider owl-carousel owl-theme owl-loaded owl-carousel owl-drag">';
foreach ($smallImages as $value) {
echo '<a data-fancybox="module_images" data-lightbox="image-1" href="getimage/' . $value . '">
<img class="lazyload marketplace__cart-ico marketplace__round-ico"
//ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
error_reporting(E_ALL);
set_error_handler(function($level, $message, $file = '', $line = 0) {
$this->handleError($level, $message, $file, $line);
});
set_exception_handler(function($e) {
$this->handleException($e);
});
</div> <? array_shift($smallImages); ?> <?php
if(count($smallImages) > 3) {
$smallImgCounter = 1;
echo '<div class="marketplace_page__card_smallImages smallImages-slider owl-carousel owl-theme owl-loaded owl-carousel owl-drag">';
foreach ($smallImages as $value) {
echo '<a data-fancybox="module_images" data-lightbox="image-1" href="getimage/' . $value . '">
<img class="lazyload marketplace__cart-ico marketplace__round-ico"
<?php if ($content == 'index_default'): ?>
<?php require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/mainpage_modules/slider_main.php'); ?>
<?php endif ?>
<?php if (isset($_GET['products_id']) && !productIsTemplate($_GET['products_id']))
require(DIR_WS_CONTENT . 'product_info_new.php');
else
require(DIR_WS_CONTENT . $content . '.tpl.php');
?>
<div class="hFooter"></div></main> }
$content = CONTENT_PRODUCT_INFO;
// $javascript = 'product_info.js';
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/' . TEMPLATENAME_MAIN_PAGE);
require(DIR_WS_INCLUDES . 'application_bottom.php');
|
ErrorException
|
|---|
ErrorException:
count(): Parameter must be an array or an object that implements Countable
at /home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php:98
at Bootstrap\HandleExceptions->handleError()
(/home/solomono/web/hetzner.solomono.net/bootstrap/HandleExceptions.php:32)
at Bootstrap\HandleExceptions->Bootstrap\{closure}()
(/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php:98)
at require('/home/solomono/web/hetzner.solomono.net/templates/content/product_info_new.php')
(/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php:502)
at require('/home/solomono/web/hetzner.solomono.net/templates/solo/main_page.tpl.php')
(/home/solomono/web/hetzner.solomono.net/product_info.php:102)
|