A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'cc_name' of non-object

Filename: controllers/Seller.php

Line Number: 173

Backtrace:

File: /home/admin_nextobe_co_th/thaiculturemarket.com/public/cul_tur_web/controllers/Seller.php
Line: 173
Function: _error_handler

File: /home/admin_nextobe_co_th/thaiculturemarket.com/public/index.php
Line: 315
Function: require_once

Database Error

Error Number: 1054

Unknown column 'thaisiamspa_shop' in 'on clause'

SELECT distinct cl.name, cl.id_category FROM `sc_category` `c` LEFT JOIN `sc_category_product` `cp` ON `c`.`id_category`=`cp`.`id_category` RIGHT JOIN `sc_product` `p` ON `p`.`id_product`=`cp`.`id_product` and `p`.`id_seller`=`thaisiamspa_shop` and `p`.`active` = 1 LEFT JOIN `sc_category_lang` `cl` ON `cl`.`id_category`=`c`.`id_category` and `cl`.`id_lang`=2 WHERE `c`.`level_depth` = 2 AND `c`.`active` = 1 AND `p`.`permit` = '1'

Filename: models/Seller_model.php

Line Number: 133