A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 66

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 66
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 68

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 68
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 70

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 70
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 71

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 71
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 72

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 72
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 73

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 73
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 74

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 74
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 75

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 75
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'city' of non-object

Filename: controllers/Center.php

Line Number: 76

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 76
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Center.php

Line Number: 77

Backtrace:

File: /var/www/worcoft/application/controllers/Center.php
Line: 77
Function: _error_handler

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/worcoft/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/worcoft/application/models/front/Space_model.php
Line: 431
Function: get

File: /var/www/worcoft/application/controllers/Center.php
Line: 77
Function: get_spacetypes

File: /var/www/worcoft/index.php
Line: 315
Function: require_once

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 ')' at line 3

SELECT * FROM `space_type` WHERE `space_type`.`id` IN (select space_type_id from space where center_id=)

Filename: models/front/Space_model.php

Line Number: 431