Fatal error: Call to undefined method ApiModel::getattributes() in /home/mychalle/public_html/application/controllers/referral.php on line 10