












Error message: Unknown column 'lang_code' in 'where clause'<div style="position: relative; z-index: 99999999; padding: 15px; background: #FFF;"><table class="table"><tr class="heading">
            <th>File</th>
            <th>Line</th>
            <th>Function</th>
            <th>Class</th>
        </tr><tr class="hoverable list line1">
                <td>/engine/components/Db.php</td>
                <td style="padding-left: 10px; padding-right: 10px;">970</td>
                <td style="padding-right: 10px;">query</td>
                <td>Db</td>
            </tr><tr class="hoverable list line2">
                <td>/engine/components/Db.php</td>
                <td style="padding-left: 10px; padding-right: 10px;">1036</td>
                <td style="padding-right: 10px;">fetchCell</td>
                <td>Db</td>
            </tr><tr class="hoverable list line1">
                <td>/modules/shop/module.shop.php</td>
                <td style="padding-left: 10px; padding-right: 10px;">1545</td>
                <td style="padding-right: 10px;">fetchRow</td>
                <td>Db</td>
            </tr><tr class="hoverable list line2">
                <td>/modules/shop/include/products.site.php</td>
                <td style="padding-left: 10px; padding-right: 10px;">167</td>
                <td style="padding-right: 10px;">getProductDefaultCategory</td>
                <td>Shop</td>
            </tr></table></div><div style="padding: 20px; color: #333; background: #eee; border: solid 1px #333; ">
					<div style="font-weight: bold; color: blue;">
						CLASS.DB OUTPUT:
					</div>
					<div>
						<strong>ERROR</strong>: Unknown column 'lang_code' in 'where clause'
					</div>
				</div><div style="padding: 20px; color: #333; background: #eee; border: solid 1px #333; ">
					<div style="font-weight: bold; color: blue;">
						CLASS.DB OUTPUT:
					</div>
					<div>
						<strong>QUERY</strong>: <pre>SELECT * 
				FROM mdl_shop_product_category 
 WHERE (fk_product_id = '20') 
 AND  ( fk_category_id IN (SELECT id FROM mdl_shop_categories WHERE lang_code = 'et') )  
 ORDER BY fk_category_id DESC 
 LIMIT 1 
</pre>
					</div>
				</div>File: /var/www/webtk/engine/components/Db.php<br/>Line: 970<br/>Class: Db<br/>Function: query<br/><br/>File: /var/www/webtk/engine/components/Db.php<br/>Line: 1036<br/>Class: Db<br/>Function: fetchCell<br/><br/>File: /var/www/webtk/modules/shop/module.shop.php<br/>Line: 1545<br/>Class: Db<br/>Function: fetchRow<br/><br/>File: /var/www/webtk/modules/shop/include/products.site.php<br/>Line: 167<br/>Class: Shop<br/>Function: getProductDefaultCategory<br/><br/>