A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Destination.php

Line Number: 373

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 374

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 380

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 399

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 400

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 401

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 405

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 407

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 420

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 424

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 424

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 425

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 440

Backtrace:

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

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 451

Backtrace:

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

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

File: /home/www/cubatechtravel.com/index.php
Line: 294
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.com/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

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

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

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

File: /home/www/cubatechtravel.com/index.php
Line: 294
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