I am working on a login system for a project using MVC programming and ran into this error. Here is the code, the problem line is #31
This login system is a tutoria
This was likely fixed in PHP 5.4 as part of Function Array Dereferencing (FAD) (revision 300266).
Alternatively as workaround try adding extra brackets, e.g.
$stmt->bind_param("ss", $user, (md5($pass . $this->salt)));
which would dereference the method/function return, see: (<5.6) Occasionally significant parentheses.