A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 311

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 311
Function: _error_handler

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$destination

Filename: controllers/Hotel.php

Line Number: 311

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 311
Function: _error_handler

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category

Filename: controllers/Hotel.php

Line Number: 311

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 311
Function: _error_handler

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 312

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 312
Function: _error_handler

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$summary

Filename: controllers/Hotel.php

Line Number: 312

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 312
Function: _error_handler

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 314

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 314
Function: _error_handler

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 330

Backtrace:

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 330
Function: _error_handler

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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/Review_hotel_model.php
Line: 123
Function: get

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 1353
Function: getRatings

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 333
Function: reviews

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 47
Function: details

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 '%7B%7Bpk%7D%7D AND rating = rating.pk_rating AND review.language_code = 'english' at line 1

SELECT DISTINCT `rating`.`pk_rating`, (SELECT COUNT(pk_review) FROM review WHERE fk_hotel = %7B%7Bpk%7D%7D AND rating = rating.pk_rating AND review.language_code = 'english' AND review.enabled)as quantity FROM `rating`

Filename: models/Review_hotel_model.php

Line Number: 123