Другие товары фабрики
Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_posts` AS `t`
LEFT JOIN `wp_podsrel` AS `rel_brand` ON
`rel_brand`.`field_id` = 41
AND `rel_brand`.`item_id` = `t`.`ID`
LEFT JOIN `wp_posts` AS `brand` ON
`brand`.`ID` = `rel_brand`.`related_item_id`
WHERE ( ( `brand`.`id` = ) AND ( `t`.`post_type` = "product" ) AND ( `t`.`post_status` IN ( "publish" ) ) )
ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 10; Response: 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 ') AND ( `t`.`post_type` = "product" ) AND ( `t`.`post_status` IN ( "publish" ) )' at line 14