A PHP Error was encountered

Severity: Warning

Message: Missing argument 4 for Maincat::getCatitem()

Filename: main/maincat.php

Line Number: 26

A PHP Error was encountered

Severity: Warning

Message: Missing argument 5 for Maincat::getCatitem()

Filename: main/maincat.php

Line Number: 26

Fatal error: Call to a member function num_rows() on a non-object in /var/www/ryans/application/models/mcat.php on line 1128