Fatal error: Uncaught exception 'Exception' with message 'Error: Unknown column 'pd.tag' in 'where clause'<br />Error No: 1054<br />SELECT a.oct_blog_article_id, ad.name, a.date_added, a.image, a.viewed, ad.description, (SELECT AVG(rating) AS total FROM oc_oct_blog_comments c1 WHERE c1.oct_blog_article_id = a.oct_blog_article_id AND c1.status = '1' GROUP BY c1.oct_blog_article_id) AS rating, (SELECT COUNT(*) AS total FROM oc_oct_blog_comments c2 WHERE c2.oct_blog_article_id = a.oct_blog_article_id AND c2.status = '1' GROUP BY c2.oct_blog_article_id) AS comments FROM oc_oct_blog_article a LEFT JOIN oc_oct_blog_article_description ad ON (a.oct_blog_article_id = ad.oct_blog_article_id) LEFT JOIN oc_oct_blog_article_to_store a2s ON (a.oct_blog_article_id = a2s.oct_blog_article_id) WHERE ad.language_id = '1' AND a.status = '1' AND a2s.store_id = '0' AND (pd.tag LIKE '%420%') GROUP BY a.oct_blog_article_id ORDER BY a.sort_order ASC LIMIT 0,18' in /home/ateepjwz/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/a in /home/ateepjwz/public_html/system/library/db/mysqli.php on line 40