Fatal error: Cannot use "parent" when no class scope is active in /home/sverma/public_html/application/models/AdminMainModel.php on line 6

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/sverma/public_html/application/models/AdminMainModel.php:6)

Filename: core/Common.php

Line Number: 564

Backtrace:

A PHP Error was encountered

Severity: Compile Error

Message: Cannot use "parent" when no class scope is active

Filename: models/AdminMainModel.php

Line Number: 6

Backtrace: