<path d="M131.415,77.93h-30.748V47.182c0-4.143-3.357-7.5-7.5-7.5c-4.143,0-7.5,3.357-7.5,7.5V77.93H54.918 c-4.143,0-7.5,3.357-7.5,7.5s3.357,7.5,7.5,7.5h30.748v30.749c0,4.143,3.357,7.5,7.5,7.5c4.143,0,7.5-3.357,7.5-7.5V92.93h30.748 c4.143,0,7.5-3.357,7.5-7.5S135.557,77.93,131.415,77.93z"/></svg>' : '';
$i = 1;
$productsIds = $productsPrices = [];
foreach ($tpl_settings['products'] as $listing) {
// PRODUCT
$id = $listing['products_id'];
$product_name = strip_tags($listing['products_name']);
if (!empty($listing['products_url'])) {
//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);
});
<path d="M131.415,77.93h-30.748V47.182c0-4.143-3.357-7.5-7.5-7.5c-4.143,0-7.5,3.357-7.5,7.5V77.93H54.918 c-4.143,0-7.5,3.357-7.5,7.5s3.357,7.5,7.5,7.5h30.748v30.749c0,4.143,3.357,7.5,7.5,7.5c4.143,0,7.5-3.357,7.5-7.5V92.93h30.748 c4.143,0,7.5-3.357,7.5-7.5S135.557,77.93,131.415,77.93z"/></svg>' : '';
$i = 1;
$productsIds = $productsPrices = [];
foreach ($tpl_settings['products'] as $listing) {
// PRODUCT
$id = $listing['products_id'];
$product_name = strip_tags($listing['products_name']);
if (!empty($listing['products_url'])) {
</button>
</div>
</div>
<div id="block">
<?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING_COL); // products listing ?>
</div>
<?php
if (isset($seoFilterInfo) && $seoFilterInfo) {
$desc_text = $seoFilterInfo['description'];
} elseif (is_array($searchResultsQuery) && $searchResultsQuery["seo_text"]) {
<?php echo $breadcrumb->trail(' '); ?>
<!-- END BREADCRUMBS -->
<!-- CONTENT -->
<?php
if (file_exists(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php')) {
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php'); // content from current template (if exists)
} else {
require(DIR_WS_CONTENT . $content . '.tpl.php'); // content from default template
}
?>
<!-- END CONTENT -->
}
if ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
require(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING_COL);
} else {
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/' . TEMPLATENAME_MAIN_PAGE);
}
require(DIR_WS_INCLUDES . 'application_bottom.php');
ErrorException
|
---|
ErrorException: Invalid argument supplied for foreach() at /home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/modules/product_listing_col.php:242 at Bootstrap\HandleExceptions->handleError() (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/bootstrap/HandleExceptions.php:32) at Bootstrap\HandleExceptions->Bootstrap\{closure}() (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/modules/product_listing_col.php:242) at include('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/includes/modules/product_listing_col.php') (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/templates/default/content/index_products.tpl.php:98) at require('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/templates/default/content/index_products.tpl.php') (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/templates/default/main_page.tpl.php:100) at require('/home/dev_ltscreen/web/dev.ltscreen.com/public_html/templates/default/main_page.tpl.php') (/home/dev_ltscreen/web/dev.ltscreen.com/public_html/index.php:486) |