The folowing error is filling up my error Page:
Code: Select all
[21-May-2023 13:01:52 UTC] PHP Warning: Use of undefined constant IS_PRODUCT_PRODUCTS_DISPLAY_ROW - assumed 'IS_PRODUCT_PRODUCTS_DISPLAY_ROW' (this will throw an Error in a future version of PHP) in /home/**********/public_html/store/templates/default/includes/components/product_listing.php on line 98
Code: Select all
if ( $item%IS_PRODUCT_PRODUCTS_DISPLAY_ROW_SM == 0 ) $prod_list_contents .= '<div class="w-100 d-none d-sm-block d-md-none"></div>' . PHP_EOL;
if ( $item%IS_PRODUCT_PRODUCTS_DISPLAY_ROW_MD == 0 ) $prod_list_contents .= '<div class="w-100 d-none d-md-block d-lg-none"></div>' . PHP_EOL;
if ( $item%IS_PRODUCT_PRODUCTS_DISPLAY_ROW_LG == 0 ) $prod_list_contents .= '<div class="w-100 d-none d-lg-block d-xl-none"></div>' . PHP_EOL;
if ( $item%IS_PRODUCT_PRODUCTS_DISPLAY_ROW_XL == 0 ) $prod_list_contents .= '<div class="w-100 d-none d-xl-block"></div>' . PHP_EOL;
$item++;
}
echo $GLOBALS['OSCOM_Hooks']->call('filter', 'drawForm');
(line 98) echo '<div class="' . IS_PRODUCT_PRODUCTS_DISPLAY_ROW . '">' . PHP_EOL;
echo $prod_list_contents;
echo '</div>' . PHP_EOL;