07.12.2024 06:48:09ERROR in function mysql->select: Error occured while processing query SELECTDISTINCT part.id as idFROMp_part as part,p_category as category,p_type as type,p_goods as goods,p_brand as brandWHEREpart.version_id = '1' ANDpart.name = 'videoequipment' ANDpart.id = category.part_id ANDcategory.id = type.category_id ANDtype.id = goods.type_id ANDpart.is_active = 1 ANDcategory.is_active = 1 ANDtype.is_active = 1 ANDgoods.is_active = 1 ANDbrand.is_active = 1 ANDbrand.id = goods.brand_idORDER BY MySQL reported: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 21