2709 search results for Doctrine

... Ok, for now I've just fixed it. I deprecated doctrine/cache to version 1.12, an later run composer require "doctrine/dbal:^2.13" and app is working and tests are all green. I feel that I totally mashed up versions of components but for now it's ok. I'll see later. ...
... your `POSTGRES_PASSWORD` is *slightly* different than the one that comes with the recipe: https://github.com/symfony/recipes/blob/main/doctrine/doctrine-bundle/2.4/manifest.json#L31 Cheers!
weaverryan
weaverryan
Read Full Comment
Hey Amine! You're right that something needs to set those properties! We're using the TimestampableEntity trait from Doctrine Extensions - https://symfonycasts.com/screencast/doctrine-relations/answer#timestampable-and ...
weaverryan
weaverryan
Read Full Comment
Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry or null, instance of Doctrine ...
Ruslan I.
Ruslan I.
Read Full Comment
ApiTokenRepsitory cannot find my entity: Could not find the entity manager for class "App\Entity\ApiToken". Despite being defined: ``` namespace App\Repository; use App\Entity\ApiToken; use Doctrine\Bundle ...
Lluís F.
Lluís F.
Read Full Comment
... \AutoMappingTrait" not found while loading "Symfony\Bridge\Doctrine\Validator\DoctrineLoader". in /home/renevorndran/code-symfony-doctrine/start/vendor/symfony/error-handler/DebugClassLoader.php:346` Any Ideas how to solve it?
Hi, im having an issue with the source files. Class Doctrine\Common\Cache\ArrayCache does not exist. Ive searched a bit for a solution, but no success. I tried to change doctrine version, php version without change. Any help would be apreciated! ...
... symfony/maker-bundle v1.11.6 requires doctrine/inflector ^1.2 -> found doctrine/inflector[v1.2.0, ..., 1.4.4] but the package is fixed to 2.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
... class using Doctrine Criteria, we talked about Doctrine Criteria on SymfonyCasts, try to search it. I hope this helps! Cheers!
... \"", "trace": [ { "namespace": "", "short_class": "", "class": "", "type": "", "function": "", "file": "/app/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php", "line": 1544, "args": [] }, ` ...
there PHP: Version 8 Symfony: Version 5.2 with API platform I am trying to store Doctrine entity object to cache. When next time I retrieve same object from cache, doctrine consider that object as new object and try to persist it. Can u help me to solve this issue ? Thanks ...
... /projects/myproject/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/SymfonyFileLocator.php:84 any idea?
Gung mahendra M.
Gung mahendra M.
Read Full Comment
... \Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry or null, instance of Doctrine\Bundle\DoctrineBundle\Registry given`
... /........../projects/learn_symfony/symfony-doctrine/config/routes/../../src/Controller/ (which is being imported from " /........../projects/learn_symfony/symfony-doctrine/config/routes/annotations.yaml"). Make sure annotations are installed and enabled.
Fraser P.
Fraser P.
Read Full Comment
... Hello Ryan! I'm trying to make an embedded entity but with a non-doctrine object How could I create a form with Embedding custom DTO Object property (This object is not a doctrine entity)? For example: Dto model ...
JuanLuisGarciaBorrego
JuanLuisGarciaBorrego
Read Full Comment
... example here: https://github.com/symfony/recipes/blob/master/doctrine/doctrine-bundle/1.6/manifest.json#L33-L36 Cheers!
weaverryan
weaverryan
Read Full Comment
Thanks for your response. In this course if we typed alt+enter to showing context action on entity class will show up 'Add doctrine repository' and if we clicked this action its will generate new doctrine repository file automatically, but my editor not to do the same act ...
... 'findAllPublishedOrderedByRecentlyActive'. The method name must start with either findBy or findOneBy! in vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 226 I've tried to clear the Symfony cache, but the issue remains.
Roy Hochstenbach
Roy Hochstenbach
Read Full Comment
... Argument 2 passed to Symfony\Bundle\MakerBundle\Validator::validateDoctrineFieldName() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of ...
... \ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry or null, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in start/var/cache/dev/ContainerQkMdM9p/App_KernelDevDebugContainer.php on line 1151