A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Destination.php

Line Number: 362

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 362
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 363

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 363
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 369

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 369
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 387

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 387
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 388

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 388
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 389

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 389
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 393

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 393
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 395

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 395
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 408

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 408
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 412

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 412
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 412

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 412
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 413

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 413
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 428

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 428
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 439

Backtrace:

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 439
Function: _error_handler

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/www/cubatechtravel/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/www/cubatechtravel/application/models/Knowing_cuba_model.php
Line: 175
Function: query

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 439
Function: get_next_places_destination

File: /home/www/cubatechtravel/application/controllers/Destination.php
Line: 51
Function: call_user_func_array

File: /home/www/cubatechtravel/index.php
Line: 293
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 extrahotel.fk_place_type = 45 ORDER BY extr' at line 8

SELECT extrahotel.pk_extrahotel, extrahotel.extrahotel, extrahotel_lg.fk_extrahotel_place, extrahotel_lg.placenametrans, extrahotel.lat,extrahotel.lon, extrahotel.extrahotel as name, extrahotel.description as descript FROM extrahotel INNER JOIN destination ON extrahotel.fk_destination = destination.pk_destination INNER JOIN destination_lg ON destination.pk_destination = destination_lg.fk_destination INNER JOIN extrahotel_lg ON extrahotel_lg.fk_extrahotel_place = extrahotel.pk_extrahotel WHERE destination_lg.fk_language = 1 AND destination.fk_province = AND extrahotel.fk_place_type = 45 ORDER BY extrahotel.pk_extrahotel ASC

Filename: models/Knowing_cuba_model.php

Line Number: 175