Debug (array): 
Array
(
    [0] => SELECT SQL_CALC_FOUND_ROWS products_subpages.*  , products_subpages_i18n.* FROM products_subpages  LEFT JOIN products_subpages_i18n ON products_subpages.id = products_subpages_i18n.i18n_foreign_key AND products_subpages_i18n.i18n_locale = 'bg_BG'   WHERE active=1 AND page_id= 
    [1] => 1064
    [2] => 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
)


Antipodes.Cubes - Антиподес ООД

Antipodes.Cubes,