Questa Query ha dato errore :
"SELECT *,(SELECT COUNT(*) as count_sons FROM category c2 WHERE c2.parent_category_id = c.category_id) as count_sons,(SELECT text_value FROM text WHERE text_type = 'product_category_name' AND text_id = c.category_id AND lang_id = '1') as name,(SELECT text_value FROM text WHERE text_type = 'product_category_friendly_url' AND text_id = c.category_id AND lang_id = '1') as friendly_url,(SELECT text_value FROM text WHERE text_type = 'product_category_meta_title' AND text_id = c.category_id AND lang_id = '1') as meta_title,(SELECT text_value FROM text WHERE text_type = 'product_category_public_name' AND text_id = c.category_id AND lang_id = '1') as public_name,(SELECT text_value FROM text WHERE text_type = 'product_category_description' AND text_id = c.category_id AND lang_id = '1') as description,(SELECT COUNT(*) as count_products FROM product_category cc WHERE cc.category_id = c.category_id) as count_products,(SELECT GROUP_CONCAT(CONCAT(lang_id,'___',text_type,'___',text_value) SEPARATOR '---') FROM text t WHERE t.text_id = c.category_id AND text_context = 'category' GROUP BY text_id ) as text,(SELECT GROUP_CONCAT(CONCAT(f.file_id,'§',f.formats) SEPARATOR '-') FROM file f WHERE f.file_id = c.file_id) as cover,(SELECT CONCAT(category_google_shopping_id,'§',category_google_shopping_name) FROM category_google_shopping cgs WHERE cgs.category_google_shopping_id = c.category_google_shopping_id) as category_google_shopping FROM category c WHERE category_id = "

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