Error 500: Internal Server Error

More than one result was found for query although one row or none was expected.