11:52 AM | 21-09-2017

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) limit 0,1' at line 1
have_child(

array (
  0 => 'category',
  1 => NULL,
)
) at packages/frontend/modules/ProductList/forms/list.php:17,
parse_layout(
array (
  0 => 'list',
)
) at packages/frontend/modules/ColumnLayout/forms/list.php:10,
on_draw() at cache/pages/san-pham.cache.php:285,
run() at index.php:11

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)' at line 7
fetch(

array (
  0 => '
			SELECT
				count(*) as acount
			FROM
				product
				inner join category on product.category_id = category.id
			WHERE
				product.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)				
		',
)
) at packages/frontend/modules/ProductList/db.php:34,
get_total_item(
array (
  0 => 'product.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)',
)
) at packages/frontend/modules/ProductList/forms/list.php:25,
parse_layout(
array (
  0 => 'list',
)
) at packages/frontend/modules/ColumnLayout/forms/list.php:10,
on_draw() at cache/pages/san-pham.cache.php:285,
run() at index.php:11

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) ORDER BY product.position desc,' at line 11
fetch_all(

array (
  0 => '
			SELECT
				product.id,
				product.brief_1 as brief,							
				product.name_1 as name,
				IF(product.small_thumb_url!="",product.small_thumb_url,product.image_url) as small_thumb_url,
				product.name_id
			FROM
				product
				left outer join category on product.category_id = category.id
			WHERE
				product.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)
			ORDER BY
				product.position desc,product.time desc
			LIMIT
				0,10
		',
)
) at packages/frontend/modules/ProductList/db.php:22,
get_products(
array (
  0 => 'product.status!="HIDE" and (`structure_id` >=  and `structure_id` < 1000000000000000000)',
  1 => 10,
)
) at packages/frontend/modules/ProductList/forms/list.php:27,
parse_layout(
array (
  0 => 'list',
)
) at packages/frontend/modules/ColumnLayout/forms/list.php:10,
on_draw() at cache/pages/san-pham.cache.php:285,
run() at index.php:11