Некорректный запрос к БД You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 --- SELECT gys_analog.*, gys_katalog_category.preview AS preview, gys_katalog_category.category AS category, gys_katalog_category.uri AS uri, gys_katalog_category.text AS text FROM gys_analog LEFT JOIN gys_katalog_category ON gys_katalog_category.katalog_category_id = gys_analog.analog WHERE gys_analog.object =