A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Space.php

Line Number: 205

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 205
Function: _error_handler

File: /var/www/live/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/Space.php

Line Number: 207

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 207
Function: _error_handler

File: /var/www/live/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/Space.php

Line Number: 208

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 208
Function: _error_handler

File: /var/www/live/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/Space.php

Line Number: 210

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 210
Function: _error_handler

File: /var/www/live/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/Space.php

Line Number: 212

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 212
Function: _error_handler

File: /var/www/live/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/Space.php

Line Number: 213

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 213
Function: _error_handler

File: /var/www/live/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/Space.php

Line Number: 214

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 214
Function: _error_handler

File: /var/www/live/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/Space.php

Line Number: 215

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 215
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Space.php

Line Number: 216

Backtrace:

File: /var/www/live/application/controllers/Space.php
Line: 216
Function: _error_handler

File: /var/www/live/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/live/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/live/application/models/front/Space_model.php
Line: 445
Function: get

File: /var/www/live/application/controllers/Space.php
Line: 216
Function: get_spacetypes

File: /var/www/live/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 'and `active_status` =0 and `delete_status` =0)' at line 3

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

Filename: models/front/Space_model.php

Line Number: 445