DDC-3137: Entity Repository Interface Fatal Error #3890

Closed
opened 2026-01-22 14:30:43 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (May 24, 2014).

Originally assigned to: @deeky666 on GitHub.

Jira issue originally created by user Dorian_Sam:

For example:
$em = $this->getServiceLocator()->get('doctrine.entitymanager.orm_default');
$em->getRepository('MyEntity');

Response:
Fatal error: Class Doctrine\ORM\Repository\DefaultRepositoryFactory contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Doctrine\ORM\Repository\RepositoryFactory::xgetRepository) in /srv/www/casestories.loc/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php on line 77

Originally created by @doctrinebot on GitHub (May 24, 2014). Originally assigned to: @deeky666 on GitHub. Jira issue originally created by user Dorian_Sam: For example: $em = $this->getServiceLocator()->get('doctrine.entitymanager.orm_default'); $em->getRepository('MyEntity'); Response: Fatal error: Class Doctrine\ORM\Repository\DefaultRepositoryFactory contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Doctrine\ORM\Repository\RepositoryFactory::xgetRepository) in /srv/www/casestories.loc/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php on line 77
admin added the Bug label 2026-01-22 14:30:43 +01:00
admin closed this issue 2026-01-22 14:30:45 +01:00
Author
Owner

@doctrinebot commented on GitHub (May 24, 2014):

Comment created by Dorian_Sam:

composer update problem, sorry, close issue

@doctrinebot commented on GitHub (May 24, 2014): Comment created by Dorian_Sam: composer update problem, sorry, close issue
Author
Owner

@doctrinebot commented on GitHub (Jun 26, 2014):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Jun 26, 2014): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3890