Error

Code: 401

MySQL execution error: 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 `property_to_id` = 0x706f7374446f63 AND ( `outpoint` = "" OR `outpoi' at line 5

SELECT COUNT(DISTINCT(con.content_id)) AS `@total` FROM content con INNER JOIN ( ( SELECT cr.from_id as content_id FROM content_relations cr WHERE cr.to_id IN () AND `property_to_id` = 0x706f7374446f63 AND ( `outpoint` = "" OR `outpoint` IS NULL ) ) UNION ( SELECT cr.to_id as content_id FROM content_relations cr WHERE cr.from_id IN () AND `property_id` = 0x706f7374446f63 AND ( `outpoint` = "" OR `outpoint` IS NULL ) )) rel_contentOr_id_1 ON rel_contentOr_id_1.content_id = con.content_id WHERE 1=1 AND ( con.`status` = 100 ) AND ( con.`type_id` = 'Person' ) -- START OF USER PERMISSIONS: AND ( -- AVAILABLE TYPES con.type_id IN ( 'Thing','CourseType','CourseCode','Course','MediaObject','Event','ImageObject','ResearchArea','Place','News','Organization','WebPage','Folder','Person','Project','Period','Subfolder','SuperEvent','Theme','Thesis','DocType','EventType','VideoObject','WebSite' ) -- TYPE PERMISSIONS: AND ( -- 'Thing' ( con.type_id = 'Thing' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Thing' -- 'CourseType' OR ( con.type_id = 'CourseType' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'CourseType' -- 'CourseCode' OR ( con.type_id = 'CourseCode' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'CourseCode' -- 'Course' OR ( con.type_id = 'Course' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Course' -- 'MediaObject' OR ( con.type_id = 'MediaObject' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'MediaObject' -- 'Event' OR ( con.type_id = 'Event' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Event' -- 'ImageObject' OR ( con.type_id = 'ImageObject' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'ImageObject' -- 'ResearchArea' OR ( con.type_id = 'ResearchArea' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'ResearchArea' -- 'Place' OR ( con.type_id = 'Place' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Place' -- 'News' OR ( con.type_id = 'News' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'News' -- 'Organization' OR ( con.type_id = 'Organization' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Organization' -- 'WebPage' OR ( con.type_id = 'WebPage' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'WebPage' -- 'Folder' OR ( con.type_id = 'Folder' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Folder' -- 'Person' OR ( con.type_id = 'Person' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Person' -- 'Project' OR ( con.type_id = 'Project' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Project' -- 'Period' OR ( con.type_id = 'Period' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Period' -- 'Subfolder' OR ( con.type_id = 'Subfolder' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Subfolder' -- 'SuperEvent' OR ( con.type_id = 'SuperEvent' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'SuperEvent' -- 'Theme' OR ( con.type_id = 'Theme' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Theme' -- 'Thesis' OR ( con.type_id = 'Thesis' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'Thesis' -- 'DocType' OR ( con.type_id = 'DocType' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'DocType' -- 'EventType' OR ( con.type_id = 'EventType' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'EventType' -- 'VideoObject' OR ( con.type_id = 'VideoObject' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'VideoObject' -- 'WebSite' OR ( con.type_id = 'WebSite' AND ( ( con.status IN ( 100 ) ) -- EVERYONE ) ) -- END OF 'WebSite' ) ) -- END OF USER PERMISSIONS

File: /server/ppge/shiro/src/shiro/database/mysql/MySQLDriver.php on line 1050

Backtrace

shiro\database\mysql\MySQLDriver->_getQueryResults() in file /server/ppge/shiro/src/shiro/database/mysql/MySQLSearch.php on line 28

shiro\database\mysql\MySQLDriver->getQuery() in file /server/ppge/shiro/src/shiro/database/mysql/MySQLDriver.php on line 312

shiro\database\mysql\MySQLDriver->getTotal() in file /server/ppge/shiro/src/shiro/models/ContentModel.php on line 390

shiro\models\ContentModel->getTotal() in file /server/ppge/shiro/application/controllers/Content.php on line 472

Content->content() in file /server/ppge/shiro/application/core/MY_Controller.php on line 514

MY_Controller->navItem() in file /server/ppge/shiro/system/core/CodeIgniter.php on line 518

require_once() in file /server/ppge/shiro/shiro.php on line 345

include() in file /server/ppge/html/index.php on line 3