A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for Destination::details()

Filename: controllers/Destination.php

Line Number: 365

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

Filename: controllers/Destination.php

Line Number: 377

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Destination.php

Line Number: 379

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Destination.php
Line: 379
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: 292
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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 386

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

Filename: controllers/Destination.php

Line Number: 386

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

Filename: controllers/Destination.php

Line Number: 390

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

Filename: controllers/Destination.php

Line Number: 391

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

Filename: controllers/Destination.php

Line Number: 392

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

Filename: controllers/Destination.php

Line Number: 394

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pk

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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 404

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Destination.php
Line: 404
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: 292
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: 52
Function: call_user_func_array

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 410

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Destination.php
Line: 410
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: 292
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.com/application/controllers/Destination.php
Line: 412
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: 292
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: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 429

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 429

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 430

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 445

Backtrace:

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Destination.php

Line Number: 456

Backtrace:

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