A PHP Error was encountered

Severity: Notice

Message: Undefined index: groups

Filename: models/Publication_model.php

Line Number: 2332

Backtrace:

File: /home/extranet/public_html/application/models/Publication_model.php
Line: 2332
Function: _error_handler

File: /home/extranet/public_html/application/models/Dispatcher_model.php
Line: 371
Function: getAllGroupButtonbar

File: /home/extranet/public_html/application/models/Sysblock_model.php
Line: 105
Function: getMethod

File: /home/extranet/public_html/application/models/Routes_model.php
Line: 297
Function: loadBlocks

File: /home/extranet/public_html/application/controllers/Pages.php
Line: 160
Function: get_routes

File: /home/extranet/public_html/index.php
Line: 319
Function: require

A PHP Error was encountered

Severity: Notice

Message: Undefined index: groups

Filename: models/Publication_model.php

Line Number: 114

Backtrace:

File: /home/extranet/public_html/application/models/Publication_model.php
Line: 114
Function: _error_handler

File: /home/extranet/public_html/application/models/Dispatcher_model.php
Line: 380
Function: getElements

File: /home/extranet/public_html/application/models/Sysblock_model.php
Line: 105
Function: getMethod

File: /home/extranet/public_html/application/models/Routes_model.php
Line: 297
Function: loadBlocks

File: /home/extranet/public_html/application/controllers/Pages.php
Line: 160
Function: get_routes

File: /home/extranet/public_html/index.php
Line: 319
Function: require

A PHP Error was encountered

Severity: Notice

Message: Undefined index: groups

Filename: models/Publication_model.php

Line Number: 1120

Backtrace:

File: /home/extranet/public_html/application/models/Publication_model.php
Line: 1120
Function: _error_handler

File: /home/extranet/public_html/application/models/Publication_model.php
Line: 235
Function: getGroupVisibleCondition

File: /home/extranet/public_html/application/models/Dispatcher_model.php
Line: 380
Function: getElements

File: /home/extranet/public_html/application/models/Sysblock_model.php
Line: 105
Function: getMethod

File: /home/extranet/public_html/application/models/Routes_model.php
Line: 297
Function: loadBlocks

File: /home/extranet/public_html/application/controllers/Pages.php
Line: 160
Function: get_routes

File: /home/extranet/public_html/index.php
Line: 319
Function: require

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/extranet/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/extranet/public_html/application/models/Publication_model.php
Line: 409
Function: query

File: /home/extranet/public_html/application/models/Dispatcher_model.php
Line: 380
Function: getElements

File: /home/extranet/public_html/application/models/Sysblock_model.php
Line: 105
Function: getMethod

File: /home/extranet/public_html/application/models/Routes_model.php
Line: 297
Function: loadBlocks

File: /home/extranet/public_html/application/controllers/Pages.php
Line: 160
Function: get_routes

File: /home/extranet/public_html/index.php
Line: 319
Function: require

Database Error

A Database Error Occurred

Error Number: 1064

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 ') OR (`tblapp_mn_groupevent`.`idGroup` IN )) AND (`tbl_site_secure_users`.`isHid' at line 38

SELECT DISTINCT `tblapp_element`.`idData` AS `idData`, `tblapp_element`.`idElement` AS `idElement`, `tblapp_element`.`idUser` AS `idUser`, `tblapp_element`.`type` AS `type`, `tblapp_element`.`title` AS `title`, `tblapp_element`.`dateCreated` AS `dateCreated`, `tblapp_element`.`dateUpdated` AS `dateUpdated`, `tbl_site_secure_users`.`firstname` AS `firstname`, `tbl_site_secure_users`.`lastname` AS `lastname`, `tbl_site_secure_users`.`username` AS `username`, `tbl_site_secure_users`.`image` AS `image`, `tbl_site_secure_users`.`color` AS `color`, `tbl_site_secure_users`.`isHiddenUser` AS `isHiddenUser`, `tbl_site_secure_users`.`isHiddenPublication` AS `isHiddenPublication`, `tblapp_document`.`title` AS `document_title`, `tblapp_document`.`shortDescription` AS `document_shortDescription`, `tblapp_document`.`documentName` AS `document_documentName`, `tblapp_document`.`documentType` AS `document_documentType`, `tblapp_document`.`isPublished` AS `document_isPublished`, `viewapp_event`.`title` AS `event_title`, `viewapp_event`.`dateFrom` AS `dateFrom`, `viewapp_event`.`shortDescription` AS `event_shortDescription`, `viewapp_event`.`documentName` AS `event_documentName`, `viewapp_event`.`documentType` AS `event_documentType`, `viewapp_event`.`isRegistration` AS `event_isRegistration`, `viewapp_event`.`isPublished` AS `event_isPublished` FROM `tblapp_element` LEFT JOIN `tbl_site_secure_users` ON (`tblapp_element`.`idUser` = `tbl_site_secure_users`.`idUser`) LEFT JOIN `tblapp_document` ON (`tblapp_document`.`idDocument` = `tblapp_element`.`idElement` AND `tblapp_element`.`type` = '1') LEFT JOIN `viewapp_event` ON (`viewapp_event`.`idEvent` = `tblapp_element`.`idElement` AND `tblapp_element`.`type` = '2') LEFT JOIN `tblapp_mn_groupevent` ON (`tblapp_mn_groupevent`.`idEvent` = `viewapp_event`.`idEvent`) LEFT JOIN `tblapp_mn_groupdocument` ON (`tblapp_mn_groupdocument`.`idDocument` = `tblapp_document`.`idDocument`) LEFT JOIN tblapp_group ON tblapp_group.idGroup = tblapp_mn_groupdocument.idGroup OR tblapp_group.idGroup = tblapp_mn_groupevent.idGroup WHERE (((`tblapp_mn_groupdocument`.`idGroup` IS NOT NULL) AND (`tblapp_element`.`type` = '1')) OR ((`tblapp_mn_groupevent`.`idGroup` IS NOT NULL) AND (`tblapp_element`.`type` = '2'))) AND ((`tblapp_mn_groupdocument`.`idGroup` IN ) OR (`tblapp_mn_groupevent`.`idGroup` IN )) AND (`tbl_site_secure_users`.`isHiddenPublication` = '0') AND ((`viewapp_event`.`isPublished` = '1' OR `tblapp_element`.`idUser` = '') OR (`tblapp_document`.`isPublished` = '1' OR `tblapp_element`.`idUser` = '')) ORDER BY dateCreated DESC

Filename: models/Publication_model.php

Line Number: 409