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: 52
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: Undefined property: stdClass::$destination

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: 52
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: Undefined property: stdClass::$category

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: 52
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: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 315

Backtrace:

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

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 52
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: Undefined property: stdClass::$summary

Filename: controllers/Hotel.php

Line Number: 315

Backtrace:

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

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 52
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: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 317

Backtrace:

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

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 52
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: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 333

Backtrace:

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

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 52
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/Review_hotel_model.php
Line: 123
Function: get

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

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

File: /home/www/cubatechtravel.com/application/controllers/Hotel.php
Line: 52
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 '%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