2725 search results for Doctrine

... "$em" of method "AppBundle\Security\LoginFormAuthenticator::__construct()" to one of its parents: interface "Doctrine\ORM\EntityManagerInterface", or interface "Doctrine\Common\Persistence\ObjectManager".` If I change ...
Hi, I searched a while through older versions of the doctrine-dbal-repo and tried downgrades of the doctrine-bundle, but I did not find the needed exact change in the vendor/doctrine/dbal/src/Types/Types.php, where ...
Raphael-W
Raphael-W
Read Full Comment
... not known`` ``` here's my .env file content: ``` ###> symfony/framework-bundle ### APP_ENV=dev APP_SECRET=8650ba188bbf625cfea2df9a79ae6d61 ###< symfony/framework-bundle ### ###> doctrine/doctrine-bundle ...
... Hi Victor "should support PHP 8.1" I don't know if this means what I think it means (I see 'doctrine' and I think 'that'll be important') but vendor/doctrine/dbal/composer.json has this in the start folder straight ...
... >getServiceLocator()->get('Doctrine\ORM\EntityManager'); $config = $em->getConfiguration(); And you just put those lines in the indexAction of your controller (or whichever action you want). So the $config line would ...
Hey Daniel, DoctrineCacheBundle is abandoned as you can see here: https://github.com/doctrine/DoctrineCacheBundle - you should avoid using it. If it was just a dependency that you do not use - just remove it. If you ...
Hey Sherri, Thanks for sharing this tip with others. Hm, fairly speaking I'm not sure you will have the valid mapping after this migration, you can check if Doctrine is happy with this running: $ bin/console ...
Hi everybody ;) I didin't find : - StofDoctrineExtensionsBundle - antishov/doctrine-extensions-bundle But the issue was solved with https://github.com/doctrine-extensions/DoctrineExtensions ` composer require gedmo ...
nicolas-zanardo
nicolas-zanardo
Read Full Comment
... App\Repository\QuestionRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter ...
I get this error from composer require migrations: `Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for doctrine/doctrine-migrations-bundle ^3.0 ...
... /screencast/doctrine-relations/orderby-extra-lazy - I think it might be useful in this case. Also, Doctrine Criteria will be a more complex but good and most flexible solution, take a look at: https ...
... It was a small BC break from the new PHP version in case some code abuses some extra check on array. Actually it comes from "doctrine/annotations", but in 1.7 they fixed it, see related ...
Hey weaverryan , sorry for the late response, I am using a mariadb 10 docker image. I found a couple of articles regarding a few cases where Doctrine and the DB may look out of sync when in fact they are not. https ...
... Hey Nethik > 1. Since you have set the token property in ApiToken entity constructor, how is it not returning it instead of the value in the database? Because of Doctrine, Doctrine create your objects based on the ...
MolloKhan
MolloKhan
Read Full Comment
... ": "*", "ext-iconv": "*", "actived/microsoft-teams-notifier": "^1.2", "api-platform/core": "^2.6", "aws/aws-sdk-php": "^3.232", "doctrine/annotations": "^1.13", "doctrine/doctrine-bundle ...
TristanoMilano
TristanoMilano
Read Full Comment
... deprecated (1.11.99.4 => 1.11.99.5) - Upgrading doctrine/annotations (1.13.2 => 2.0.1) - Upgrading doctrine/cache (2.1.1 => 2.2.0) - Upgrading doctrine/collections (1.6.8 => 2.1.2) - Upgrading doctrine/common (3.2.1 ...
Nicolas-M
Nicolas-M
Read Full Comment
... ": "The class \"App\\Entity\\DragonTreasure\" cannot be retrieved from \"App\\ApiResource\\UserApi\".", "file": "/var/www/html/vendor/api-platform/core/src/Doctrine/Common/State/LinksHandlerTrait.php ...
I ran this command : php bin/console debug:config doctrine --env=dev doctrine: dbal: connections: default: url: '%env(resolve:DATABASE_URL)%' server_version ...
Manpreet-K
Manpreet-K
Read Full Comment
Hello there! I got a weird problem I don't know how to solve. Working on Symfony's project in version 6.2, and PHP 8.2 after running `composer require doctrine` errors occur: ``` - symfony/orm-pack[v1.0.0 ...
Bartlomeij
Bartlomeij
Read Full Comment
Hello I have tried the updated as well but still i am getting following errors - C:\wamp64\www\Symfony001\Symfony-Doctrine>composer require stof/doctrine-extensions-bundle Using version ^1.6 for stof/doctrine ...
Jayant B.
Jayant B.
Read Full Comment