Fatal error: Uncaught exception 'Exception' with message 'Error: Unknown column 'parent_id' in 'where clause'
Error No: 1054
SELECT COUNT(*) AS total FROM oc_review r LEFT JOIN oc_product p ON (r.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '24943' AND parent_id = '0' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '1'' in /home/i/itinfo/banglo.ru/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/i/itinfo/banglo.ru/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT COUNT(*)...', Array) #1 /home/i/itinfo/banglo.ru/public_html/system/storage/modification/catalog/model/catalog/review.php(83): DB->query('SELECT COUNT(*)...') #2 [internal function]: ModelCatalogReview->getTotalReviewsByProductId('24943') #3 /home/i/itinfo/banglo.ru/public_html/system/storage/modification/system/engine/loader.php(178): call_user_func_array(Array, Array) #4 [internal function]: Loader->{closure}(Array, Array) #5 /home/i/itinfo/banglo.ru/public_html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array) #6 /home/i/itinfo/banglo.ru/public_html/system/storage/modification/catalog/controller/product/product.php(1011): Proxy->__call('getTotalReviews...', Array) #7 /home/i/itinfo/banglo.ru/public_html/system/storage/modification/catalog/controller/product/product.php(1011): Proxy->getTotalReviewsByProductId('24943') #8 [internal function]: ControllerProductProduct->index() #9 /home/i/itinfo/banglo.ru/public_html/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #10 /home/i/itinfo/banglo.ru/public_html/system/engine/front.php(34): Action->execute(Object(Registry)) #11 /home/i/itinfo/banglo.ru/public_html/system/engine/front.php(29): Front->execute(Object(Action)) #12 /home/i/itinfo/banglo.ru/public_html/system/framework.php(103): Front->dispatch(Object(Action), Object(Action)) #13 /home/i/itinfo/banglo.ru/public_html/system/startup.php(105): require_once('/home/i/itinfo/...') #14 /home/i/itinfo/banglo.ru/public_html/index.php(22): start('catalog') #15 {main} thrown in /home/i/itinfo/banglo.ru/public_html/system/library/db/mysqli.php on line 40