A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Destination.php

Line Number: 375

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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: 376

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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: 382

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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: 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: 52
Function: call_user_func_array

File: /home/www/cubatechtravel.com/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: 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: 52
Function: call_user_func_array

File: /home/www/cubatechtravel.com/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: 402

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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: 406

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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.com/application/controllers/Destination.php
Line: 408
Function: _error_handler

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

File: /home/www/cubatechtravel.com/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: 421

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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: 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: 52
Function: call_user_func_array

File: /home/www/cubatechtravel.com/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: 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: 52
Function: call_user_func_array

File: /home/www/cubatechtravel.com/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: 426

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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: 443

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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: 454

Backtrace:

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

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

File: /home/www/cubatechtravel.com/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.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: 454
Function: get_next_places_destination

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

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