A PHP Error was encountered

Severity: Warning

Message: call_user_func_array() expects parameter 1 to be a valid callback, class 'Main' does not have a method 'error'

Filename: core/CodeIgniter.php

Line Number: 514

Backtrace:

File: /home/afc1/public_html/index.php
Line: 292
Function: require_once