2725 search results for Doctrine

... missing "serverVersion" configuration. This is normally (but not always) configured as a ?serverVersion= on the end of your DATABASE_URL - for example https://github.com/symfony/recipes/blob/a0d7f5a333679bfe3acfb01d985cf0c29dee81e8/doctrine/doctrine-bundle/2.4/manifest.json#L15 Cheers!
weaverryan
weaverryan
Read Full Comment
... covered in https://symfonycasts.com/screencast/doctrine-relations (which at this moment, is still being released - https://symfonycasts.com/screencast/symfony4-doctrine-relations is an almost-identical version for Symfony ...
weaverryan
weaverryan
Read Full Comment
Hi, I had the same error so i tried Martin's solution, and then the error transformed into "An exception occurred in driver: SQLSTATE[HY000] [2002] connection refused by the computer". So, i went into "vendor\doctrine ...
Vandilour
Vandilour
Read Full Comment
... ` - it's in this code block - https://symfonycasts.com/screencast/symfony-doctrine/fixtures#codeblock-e8f469f223 - but we fix it in the very next code block: > The only problem now is that we don't have an $entityManager ...
weaverryan
weaverryan
Read Full Comment
... the following error; Class "App\Entity\Account" is not a valid entity or mapped super class. As I know, this is because of doctrine ORM. But my question is I don't need doctrine, as I am using DynamoDB for my database. Is there a way I can work around this issue ? Thanks.
Chamal P.
Chamal P.
Read Full Comment
Hi team! I love this way of caching items! In the video you set up a cache on the user_activity_text, referenced by the user ID. You invalidate this cache after 3600 seconds. Couldn't we instead create a Doctrine ...
... render that form, and how to read/write those values. But you will still need to think about how to store that non-doctrine object, probably you will need to use a serialization or json encode for that field - Doctrine has corresponding field types for this. Cheers!
... Doctrine\DBAL\Exception\ DriverException Doctrine\DBAL\Driver\PDO\ Exception could not find driver PDOException could not find driver I have the database on the docker because I did not install mysql locally but I ...
Assist software
Assist software
Read Full Comment
... some of the versions of my libraries (from the code download) are different than your version - for example "doctrine/persistence" (which is related to your error) is 1.1.0 in your pastebin but is 1.3.7 in both the ...
weaverryan
weaverryan
Read Full Comment
... support for using different connections or entity managers - https://github.com/doctrine/DoctrineMigrationsBundle/issues/360 - which is a very unfortunate oversight. And, fixing it in your app, is non-trivial ...
weaverryan
weaverryan
Read Full Comment
... doctrine-types-for-uuid-and-ulid Symfony 5.2 provides new Doctrine types to help you work with UUID/ULID values in your entity properties.
... \" namespace.` Tested with Ubuntu Xenial, Bionic and Focal Fossa, Sym 3.4.45, Ansible 2.9.x, PHP7.4, PHP7.1... adding this ` - name: Install Composer requirements for migrations command: "composer require doctrine/doctrine-migrations-bundle"` But it won't work. What should I do?
ITHouseMeister
ITHouseMeister
Read Full Comment
Thanks Kevin B.! Yea, there is a "transition" happening right now due to some new Doctrine versions. About 2 weeks ago, DoctrineBundle started allowing doctrine/persistence 2, which means that new projects are now ...
weaverryan
weaverryan
Read Full Comment
Hello there, I try to install doctrine and I got the following error: Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 1 !! !! In EnvVarProcessor.php line 76 ...
quynh-ngan_vu
quynh-ngan_vu
Read Full Comment
... it a few days ago.....I dunno. If anyone else is getting `Your requirements could not be resolved to an installable set of of packages.` and it references doctrine/persistence what fixed it for me was editing my ...
... I'm trying to setup the database following the readme.md and I'm getting this: [Doctrine\DBAL\Exception ...
Contabexpress L.
Contabexpress L.
Read Full Comment
... want to generate php classes to handle the request. The request will probably make crud operations of many entities and not only one so i can't just diretly use doctrine models. how do i i handle this bestens ? 2 - Is ...
soufianejhioui
soufianejhioui
Read Full Comment
Hello Diego, If i put back doctrine.orm.naming_strategy.underscore in my doctrine.yaml file, i then get a deprecation message : User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it ...
Jonathan P.
Jonathan P.
Read Full Comment
So, what you have is an Order can have multiple Emails and an Email can be attached to multiple Orders, yes, it sounds like a ManyToMany relationship. In that kind of relationships Doctrine will handle the extra table ...
MolloKhan
MolloKhan
Read Full Comment
... }. ` Now my question is, why is the failed message not stored in the failed (doctrine queue_name=failed) transport for later handling? In the messenger.yaml the following is ...