Database Error

Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Product.link' in 'where clause'

SQL Query: SELECT `Product`.`id`, `Product`.`name`, `Product`.`code`, `Product`.`alias`, `Product`.`cat_id`, `Product`.`hang_id`, `Product`.`price`, `Product`.`saleoff`, `Product`.`type`, `Product`.`shortdes`, `Product`.`content`, `Product`.`thongso`, `Product`.`images`, `Product`.`images_multi`, `Product`.`pos`, `Product`.`new`, `Product`.`hot`, `Product`.`title_seo`, `Product`.`meta_key`, `Product`.`meta_des`, `Product`.`created`, `Product`.`modified`, `Product`.`status`, `Product`.`view`, `Product`.`slug`, `Product`.`name_eng`, `Product`.`shortdes_eng`, `Product`.`content_eng`, `Product`.`phut`, `Product`.`shortdes_tq`, `Product`.`content_tq`, `Product`.`name_tq`, `Product`.`nguoilon`, `Product`.`treem`, `Product`.`truso`, `Product`.`don`, `Product`.`doi`, `Product`.`lon`, `Product`.`tour`, `Product`.`tourtrongnuoc`, `Product`.`tournuocngoai`, `Product`.`noiden`, `Product`.`ngaydi`, `Product`.`thangdi`, `Product`.`namdi`, `Product`.`ngaykhoihanh`, `Product`.`thoigiandi`, `Product`.`ngaykhoihanh_eng`, `Product`.`thoigiandi_eng`, `Product`.`videoyou`, `Product`.`nt`, `Product`.`duration`, `Product`.`duration_eng`, `Product`.`twodaypro`, `Product`.`twodaypro_eng`, `Product`.`threedaypro`, `Product`.`threedaypro_eng`, `Product`.`photo`, `Product`.`lft`, `Product`.`rght`, `Product`.`vat`, `Product`.`hangsx`, `Product`.`baohanh`, `Product`.`tinhtrang`, `Product`.`tailieu`, `Product`.`tag`, `Catproduct`.`id`, `Catproduct`.`name`, `Catproduct`.`parent_id`, `Catproduct`.`alias`, `Catproduct`.`images`, `Catproduct`.`lft`, `Catproduct`.`rght`, `Catproduct`.`pos`, `Catproduct`.`status`, `Catproduct`.`title_seo`, `Catproduct`.`meta_key`, `Catproduct`.`meta_des`, `Catproduct`.`created`, `Catproduct`.`modified`, `Catproduct`.`slug`, `Catproduct`.`cate`, `Catproduct`.`link`, `Catproduct`.`name_eng`, `Catproduct`.`name_tq`, `Catproduct`.`type`, `Catproduct`.`hot`, `Catproduct`.`content`, `Catproduct`.`display`, `Catproduct`.`content_eng` FROM `khanuot_db`.`products` AS `Product` LEFT JOIN `khanuot_db`.`catproducts` AS `Catproduct` ON (`Product`.`cat_id` = `Catproduct`.`id`) WHERE `Product`.`link` = 'page' LIMIT 1

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace

<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-91783415-1', 'auto'); ga('send', 'pageview'); </script>