Parse error: syntax error, unexpected T_FUNCTION, expecting T_STRING or T_VARIABLE or '$' in /home/storage/4/ab/19/fenam2/public_html/public/views/portal/index.php(28) : eval()'d code on line 1

Fatal error: Call to a member function index() on a non-object in /home/storage/4/ab/19/fenam2/public_html/public/views/portal/index.php(35) : eval()'d code on line 1