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 = '2o92odqehn2uo82c4gq50bds37')
 AND (con.published = 1 AND con.pubdate <= '2022-08-15 06:40:46' AND (con.is_end=0 OR (con.is_end=1 AND con.enddate >= '2022-08-15 06:40:46')))


                ORDER BY con.pubdate DESC
LIMIT 0, 5

Unknown column 'session_id' in 'where clause'