mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
findOneBy return Error 500 #6067
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JosemarOdia on GitHub (Sep 11, 2018).
Originally assigned to: @Ocramius on GitHub.
Hello, when calling Doctrine's findOneBy function, I get no result and no return message. It simply gives 500 error without any message.
I'm using Doctrine with Slim Framework 3.
Parts of Composer.json:
Function call:
$cliente = $this->em->getRepository('App\Model\Cliente')->findOneBy(array('idCliente' => 3));Class Cliente:
@Ocramius commented on GitHub (Sep 12, 2018):
Closing as
invalid: please report it again if there is an actual error message that we can work with (and is a bug in the ORM), and with a stack trace.