Error

 
[Exception, 0] 
exception 'Exception' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'products_cat_related_id' in 'field list'' in /home/printops/public_html/lib/Classes/Models/RMasterModel.php:85 Stack trace: #0 /home/printops/public_html/model/ProductsRelatedProductsMaster.php(80): RMasterModel->exec_query() #1 /home/printops/public_html/templates/include/twig_functions.php(908): ProductsRelatedProductsMaster->getProductsRelatedProducts() #2 /home/printops/public_html/product_info.php(1292): relatedproductlist(1, 0, 647, Object(RDataRecord), NULL) #3 {main}
@line 655 in file /home/printops/public_html/lib/Classes/Models/RMasterModel.php

Debug Backtrace

#1 RMasterModel.php:87 -- RMasterModel->displayException(...)
#2 ProductsRelatedProductsMaster.php:80 -- RMasterModel->exec_query()
#3 twig_functions.php:908 -- ProductsRelatedProductsMaster->getProductsRelatedProducts()
#4 product_info.php:1292 -- relatedproductlist(...)

Last Query :

SELECT products_id,products_related_id,products_cat_related_id,products_cat_grp_related_id FROM products_related_products WHERE products_id = 647

Prepared Statement :

SELECT products_id,products_related_id,products_cat_related_id,products_cat_grp_related_id FROM products_related_products WHERE products_id = :products_id
Params: Array
(
    [:products_id] => 647
)
Show More...