A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "post_views" on null

Filename: models/WebpageModel.php

Line Number: 299

Backtrace:

File: /home/hartek/public_html/application/models/WebpageModel.php
Line: 299
Function: _error_handler

File: /home/hartek/public_html/application/controllers/WebpageController.php
Line: 431
Function: update_counter

File: /home/hartek/public_html/application/controllers/WebpageController.php
Line: 378
Function: add_count

File: /home/hartek/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /home/hartek/public_html/application/controllers/WebpageController.php
Line: 384
Function: redirect

File: /home/hartek/public_html/index.php
Line: 317
Function: require_once