A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/City.php

Line Number: 41

Backtrace:

File: /home/srv27555/domains/folderfirm.pl/private_html/application/controllers/City.php
Line: 41
Function: _error_handler

File: /home/srv27555/domains/folderfirm.pl/private_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/srv27555/domains/folderfirm.pl/private_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

An uncaught Exception was encountered

Type: TypeError

Message: Argument 1 passed to City_model::getPreviewInfo() must be of the type integer, null given, called in /home/srv27555/domains/folderfirm.pl/private_html/application/controllers/City.php on line 41

Filename: /home/srv27555/domains/folderfirm.pl/private_html/application/models/city/City_model.php

Line Number: 87

Backtrace:

File: /home/srv27555/domains/folderfirm.pl/private_html/application/controllers/City.php
Line: 41
Function: getPreviewInfo

File: /home/srv27555/domains/folderfirm.pl/private_html/index.php
Line: 315
Function: require_once