This is the debug file
and this is line 145.. for the life of me i don't know where to put the ()Code:[23-Jun-2021 04:42:30 UTC] Request URI: /index.php?main_page=index&cPath=21_30, IP address: 24.113.223.101 #1 include() called at [/includes/templates/kandi/templates/tpl_modules_product_listing.php:10] #2 require(/includes/templates/kandi/templates/tpl_modules_product_listing.php) called at [/includes/templates/kandi/templates/tpl_index_product_list.php:109] #3 require(/includes/templates/kandi/templates/tpl_index_product_list.php) called at [/includes/modules/pages/index/main_template_vars.php:240] #4 require(/includes/modules/pages/index/main_template_vars.php) called at [/includes/templates/kandi/common/tpl_main_page.php:181] #5 require(/includes/templates/kandi/common/tpl_main_page.php) called at [/index.php:94] --> PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /includes/modules/kandi/product_listing.php on line 145.
thank you in advancedCode:$products_link = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . ( ($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : $_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id'])) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';


Reply With Quote

