2725 search results for Doctrine

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
... Doctrine\config/packages/doctrine.yaml" does not contain valid YAML: A Y AML file cannot contain tabs as indentation in "C:\\wamp64\\www\\Symfony001\\Symfony-Doctrine\\config/packages/doct rine.yaml" at line 8 (near ...
Jayant B.
Jayant B.
Read Full Comment
... ^7.2.9|^8.0 and do a composer update I get a fail on doctrine/inflector 1.3.* requires php ^7.1. I've updated then updated it so that it is looking for doctrine/inflector ^1.3, the composer update then runs but when it ...
Hey Krzysztof K.! Hmm, really good question :). As the StackOverflow shows, it "seems" simple enough... though there are some details to think about: 1) As I understand it, Doctrine doesn't really care whether an ...
weaverryan
weaverryan
Read Full Comment
Hey mehdi! Wow, that's a really great point you made! :) So, the idea of the "owning" side is completely a "Doctrine" concept. And the "owning" side *is* GenusNote, because it is the side where the foreign key column ...
weaverryan
weaverryan
Read Full Comment
in composer I have: "require": { "php": ">=5.5.9", "symfony/symfony": "3.0.*", "doctrine/orm": "^2.5", "doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine-cache-bundle": "^1.2 ...
Diaconescu
Diaconescu
Read Full Comment
Hey jian su Doctrine by default doesn't have a replace function, but you can create your own DQL functions, actually this guy already done it: http://stackoverflow.com/a/21652988 You can read more information about ...
MolloKhan
MolloKhan
Read Full Comment
Yo Vlad! There is a slight difference between the Doctrine event subscriber and the event subscriber used by the JMSSerializerBundle. They philosophically do the same thing, but under the hood, Doctrine uses *its ...
weaverryan
weaverryan
Read Full Comment
Hey Vlad! Hmm, interesting! I don't have experience doing this, but in theory, I would be surprised if it's not supported. The error specifically is coming from Doctrine (not the paginator library itself), so changing ...
weaverryan
weaverryan
Read Full Comment
... ``` "require": { "php": "^7.1.3", "doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine-cache-bundle": "^1.2", "doctrine/orm": "^2.5", "friendsofsymfony/user-bundle": "~2.1 ...
MattWelander
MattWelander
Read Full Comment
... personal setup, I just use MySQL, uncomment that and comment the "postgresql"-line. Then fill it with data, for me it looked like this: ` ###> doctrine/doctrine-bundle ### # Format described at https://www.doctrine ...
I did not follow these courses because they are archived: Symfony 4 > Stellar Development with Symfony 4 Symfony 4 > Symfony 4 Fundamentals: Services, Config & Environments Symfony 4 > Doctrine & the ...
Hey Tomik, Unfortunately, no any plans to release it soon, so probably if you watched the Doctrine tutorial for Symfony 5 course: https://symfonycasts.com/screencast/symfony-doctrine - I'd recommend you to go with the ...
Anyone know if there's a way to have alice 'override' a primary key? @weaverryan is right, Alice _simply_ hydrate entities, so the behaviour is implied by Doctrine. In fact, you probably have a primary key with an id ...
Rénald Casagraude
Rénald Casagraude
Read Full Comment
... ..and the update of vendors code, run by the composer, seem to break one of migrations: `13:05:47 CRITICAL [php] Fatal Error: Class 'Doctrine\DBAL\Migrations\AbstractMigration' not found ["exception" => Symfony ...
Yaroslav Y.
Yaroslav Y.
Read Full Comment
... -vvv at the end and I got this: "Exception trace: at /Users/tautvydas/PhpstormProjects/Lesson_3/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Loader.php:170 Doctrine\Common\DataFixtures\Loader ...
Tautvydas
Tautvydas
Read Full Comment
... // play.php // ... $em = $container->get('doctrine') ->getEntityManager() ; The code above from the script is deprecated, use the original code or follow the video: $em = $container->get('doctrine')->getManager(); ...
Do you think we should also inject Doctrine in the controller with `RegistryInterface $doctrine` instead of $this->getDoctrine()? This is my last question hehe, great course btw ...
Trafficmanagertech
Trafficmanagertech
Read Full Comment
hmm weird it works with root user without password seems the parseDatabaseUrl function https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/DriverManager.php doesn't like that url string. ...
Caim Astraea
Caim Astraea
Read Full Comment