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 '''' LIMIT 1' at line 1
SELECT `pages`.`id`, `pages`.`parent_id`, `pages`.`lang_id`, `pages`.`has_subpages`, `pages`.`slug`, `pages`.`title`, `pages`.`text`, `pages`.`image`, `pages`.`seo_descriptiton`, `pages`.`seo_title`, `pages`.`status`, `pages`.`order`, `pages`.`parent_list`, `pages`.`url_segment` FROM `pages`  WHERE `pages`.`slug`= '''    LIMIT 1