Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; Destination has a deprecated constructor
Filename: controllers/Destination.php
Line Number: 4
Backtrace:
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; Tourist_guide_model has a deprecated constructor
Filename: models/Tourist_guide_model.php
Line Number: 3
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 14
Function: model
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; Province_model has a deprecated constructor
Filename: models/Province_model.php
Line Number: 3
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 24
Function: model
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Undefined offset: 0
Filename: controllers/Destination.php
Line Number: 367
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 367
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'fk_parent_destination' of non-object
Filename: controllers/Destination.php
Line Number: 368
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 368
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'fk_parent_destination' of non-object
Filename: controllers/Destination.php
Line Number: 374
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 374
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'lat' of non-object
Filename: controllers/Destination.php
Line Number: 392
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 392
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'lon' of non-object
Filename: controllers/Destination.php
Line Number: 393
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 393
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'destination' of non-object
Filename: controllers/Destination.php
Line Number: 394
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 394
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'pk_destination' of non-object
Filename: controllers/Destination.php
Line Number: 398
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 398
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'pk_destination' of non-object
Filename: controllers/Destination.php
Line Number: 400
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 400
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'destination' of non-object
Filename: controllers/Destination.php
Line Number: 417
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 417
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'dest_subtitle' of non-object
Filename: controllers/Destination.php
Line Number: 417
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 417
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'description' of non-object
Filename: controllers/Destination.php
Line Number: 418
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 418
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'pk_destination' of non-object
Filename: controllers/Destination.php
Line Number: 433
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 433
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to get property 'fk_province' of non-object
Filename: controllers/Destination.php
Line Number: 444
Backtrace:
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 444
Function: _error_handler
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/www/rentadeautoscuba.com/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 568
Backtrace:
File: /home/www/rentadeautoscuba.com/application/models/Knowing_cuba_model.php
Line: 174
Function: query
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 444
Function: get_next_places_destination
File: /home/www/rentadeautoscuba.com/application/controllers/Destination.php
Line: 52
Function: details
File: /home/www/rentadeautoscuba.com/index.php
Line: 292
Function: require_once
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_lg.placenametrans as name, extrahotel_lg.summary 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 = 2 AND destination.fk_province = AND extrahotel.fk_place_type = 45 ORDER BY extrahotel.pk_extrahotel ASC
Filename: models/Knowing_cuba_model.php
Line Number: 174