An uncaught Exception was encountered

Type: Error

Message: Call to undefined method Template::error()

Filename: /var/www/vhosts/gazgan.uz/httpdocs/application/controllers/Error_404.php

Line Number: 10

Backtrace:

File: /var/www/vhosts/gazgan.uz/httpdocs/index.php
Line: 319
Function: require_once