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 = 'skl5fmh6apkeqa8r97kn603m37')
 AND (con.published = 1 AND con.pubdate <= '2024-02-28 14:53:52' AND (con.is_end=0 OR (con.is_end=1 AND con.enddate >= '2024-02-28 14:53:52')))


                ORDER BY con.pubdate DESC
LIMIT 0, 5

Unknown column 'session_id' in 'where clause'