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
fetch(

array (
  0 => 'SELECT id,name_1 as name , name_id,structure_id FROM category WHERE id=',
)
) at packages/frontend/modules/SlideHome/forms/list.php:27,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:360,
run() at index.php:21

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 category.`structure_id` < 1000000000000000000) ORDER BY slide.name' at line 10
fetch_all(

array (
  0 => '
			SELECT
				slide.id,
				slide.link,
				slide.name_1 as name,
				slide.image_url
			FROM
				slide
				left outer join category on category.id = slide.category_id
			WHERE
				1 and (category.`structure_id` >=  and category.`structure_id` < 1000000000000000000)
			ORDER BY 
				slide.name_1
			LIMIT 
				0,10
		',
)
) at packages/frontend/modules/SlideHome/db.php:21,
get_items(
array (
  0 => '1 and (category.`structure_id` >=  and category.`structure_id` < 1000000000000000000)',
)
) at packages/frontend/modules/SlideHome/forms/list.php:38,
on_draw() at cache/pages/xem-san-pham.portal=duk.cache.php:360,
run() at index.php:21