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 'and `structure_id` < 1000000000000000000) AND (news.status!="HIDE") and news.por' at line 11
fetch_all(array (
0 => '
SELECT
news.id,
news.name_1 as name,
news.brief_1 as brief,
news.name_id,
news.image_url
FROM
news
INNER JOIN category ON news.category_id=category.id
WHERE
(`structure_id` >= and `structure_id` < 1000000000000000000) AND (news.status!="HIDE") and news.portal_id = "#product" and (news.publish) and (category.type="NEWS")
ORDER BY
news.position DESC,news.time DESC,news.id DESC
LIMIT
0,5
',
)
) at packages/frontend/modules/NewsProject/db.php:23,
get_items(array (
0 => '(`structure_id` >= and `structure_id` < 1000000000000000000) AND (news.status!="HIDE") and news.portal_id = "#product" and (news.publish) and (category.type="NEWS")',
)
) at packages/frontend/modules/NewsProject/forms/list.php:13,
parse_layout(array (
0 => 'list',
)
) at packages/backend/modules/ColumnLayout/forms/list.php:10,
run() at index.php:18