datasetException Object
(
    [details:protected] => Array
        (
            [0] => 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 )
		               AND node.id =  
			  GROUP BY offspring.lft
			  ORDER BY' at line 17
            [1] => 

dataset: "?"

[2] =>

table: "?"

[3] =>

message: ""

[4] => QuerySELECT offspring.id,
offspring.lft,
offspring.rgt,
offspring.title,
offspring.path,
offspring.visible,
offspring.content,
offspring.intro,
offspring.display,
offspring.quicklink,
offspring.redirect,
COUNT(parent.id)-1 AS level
FROM cms_menu AS node,
cms_menu AS parent,
cms_menu AS offspring
WHERE (offspring.lft BETWEEN parent.lft AND parent.rgt)
AND (offspring.lft BETWEEN AND )
AND node.id =
GROUP BY offspring.lft
ORDER BY offspring.lft; ) [message:protected] => Database Error [string:Exception:private] => [code:protected] => 0 [file:protected] => /homepages/40/d28155249/htdocs/cms/include/mysql.class.php [line:protected] => 120 [trace:Exception:private] => Array ( [0] => Array ( [file] => /homepages/40/d28155249/htdocs/cms/include/classes/nestedsets.class.php [line] => 177 [function] => query [class] => MySQL [type] => -> [args] => Array ( [0] => SELECT offspring.id, offspring.lft, offspring.rgt, offspring.title, offspring.path, offspring.visible, offspring.content, offspring.intro, offspring.display, offspring.quicklink, offspring.redirect, COUNT(parent.id)-1 AS level FROM cms_menu AS node, cms_menu AS parent, cms_menu AS offspring WHERE (offspring.lft BETWEEN parent.lft AND parent.rgt) AND (offspring.lft BETWEEN AND ) AND node.id = GROUP BY offspring.lft ORDER BY offspring.lft; ) ) [1] => Array ( [file] => /homepages/40/d28155249/htdocs/cms/scripts/menu2013.php [line] => 22 [function] => getBranch [class] => nestedSet [type] => -> [args] => Array ( [0] => [1] => 1 ) ) [2] => Array ( [file] => /homepages/40/d28155249/htdocs/cms/cms2013.php5 [line] => 85 [args] => Array ( [0] => /homepages/40/d28155249/htdocs/cms/scripts/menu2013.php ) [function] => include ) [3] => Array ( [file] => /homepages/40/d28155249/htdocs/cms/index.php5 [line] => 8 [args] => Array ( [0] => /homepages/40/d28155249/htdocs/cms/cms2013.php5 ) [function] => include ) ) [previous:Exception:private] => )