SELECT con.*,
                       con.pubdate as fpubdate,
					   cat.title as cat_title, cat.seolink as catseolink,
                       u.nickname as author,
                       u.login as user_login
                FROM cms_content con
				INNER JOIN cms_category cat ON = con.category_id
				LEFT JOIN cms_users u ON = con.user_id
                WHERE con.is_arhive = 0
                       AND (session_id = 'vb6crnpme1tlbsadvfg8a6h1i7')
 AND (con.published = 1 AND con.pubdate <= '2024-02-28 14:39:14' AND (con.is_end=0 OR (con.is_end=1 AND con.enddate >= '2024-02-28 14:39:14')))


                ORDER BY con.pubdate DESC
LIMIT 0, 5

Unknown column 'session_id' in 'where clause'