A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: models/OfferModel.php

Line Number: 245

Backtrace:

File: /home/dkorzen/domains/robinsontravel.pl/public_html/application/models/OfferModel.php
Line: 245
Function: _error_handler

File: /home/dkorzen/domains/robinsontravel.pl/public_html/application/controllers/web/SiteController.php
Line: 430
Function: findSimilar

File: /home/dkorzen/domains/robinsontravel.pl/public_html/application/controllers/web/SiteController.php
Line: 346
Function: getOfferView

File: /home/dkorzen/domains/robinsontravel.pl/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/dkorzen/domains/robinsontravel.pl/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/dkorzen/domains/robinsontravel.pl/public_html/application/models/OfferModel.php
Line: 251
Function: get

File: /home/dkorzen/domains/robinsontravel.pl/public_html/application/controllers/web/SiteController.php
Line: 430
Function: findSimilar

File: /home/dkorzen/domains/robinsontravel.pl/public_html/application/controllers/web/SiteController.php
Line: 346
Function: getOfferView

File: /home/dkorzen/domains/robinsontravel.pl/public_html/index.php
Line: 315
Function: require_once

Database Error

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 `id` <> '272' LIMIT 3' at line 3

SELECT * FROM `tb_offer` WHERE `id` IN() AND `id` <> '272' LIMIT 3

Filename: models/OfferModel.php

Line Number: 251