Parse error: syntax error, unexpected T_FUNCTION on plugins page

Seems like you’re running an outdated PHP version (lower than 5.3)? You should update the PHP on your server. Best case to PHP 7+