This is what was showing in my error log:
Code:
[18-Mar-2017 11:51:38 America/Chicago] Request URI: /index.php?main_page=featured_products, IP address: 158.524.324.1
#1 trigger_error() called at [/secret/public_html/includes/classes/db/mysql/query_factory.php:167]
#2 queryFactory->show_error() called at [/secret/public_html/includes/classes/db/mysql/query_factory.php:139]
#3 queryFactory->set_error() called at [/secret/public_html/includes/classes/db/mysql/query_factory.php:266]
#4 queryFactory->Execute() called at [/secret/public_html/includes/classes/split_page_results.php:78]
#5 splitPageResults->__construct() called at [/secret/public_html/includes/modules/winchester_black/product_listing.php:35]
#6 include(/secret/public_html/includes/modules/winchester_black/product_listing.php) called at [/secret/public_html/includes/templates/winchester_black/templates/tpl_modules_product_listing.php:14]
#7 require(/secret/public_html/includes/templates/winchester_black/templates/tpl_modules_product_listing.php) called at [/secret/public_html/includes/templates/winchester_black/templates/tpl_featured_products_default.php:19]
#8 require(/secret/public_html/includes/templates/winchester_black/templates/tpl_featured_products_default.php) called at [/secret/public_html/includes/templates/winchester_black/common/tpl_main_page.php:252]
#9 require(/secret/public_html/includes/templates/winchester_black/common/tpl_main_page.php) called at [/secret/public_html/index.php:97]
[18-Mar-2017 11:51:38 America/Chicago] PHP Fatal error: 1109:Unknown table 'p' in field list :: select count(p.products_id) as total ==> (as called by) /secret/public_html/includes/classes/split_page_results.php on line 78 <== in /secret/public_html/includes/classes/db/mysql/query_factory.php on line 167
Bookmarks