... could this be an issue?
```
@Doctrine vendor/doctrine/doctrine-bundle/Resources/views/
@!Doctrine vendor/doctrine/doctrine-bundle/Resources/views/
```
```
@Twig ...
Hey @Marko!
Apparently this is due to some bug between doctrine/doctrine-bundle and doctrine/dbal. I'm reading that upgrading to doctrine/doctrine-bundle 1.12 would fix it.
To do that (I just did it locally), you ...
Hey rtwent,
That is native Doctrine pagination, so that's a different thing. Yes, both solves pagination problem, but in this video we use a third-party bundle for this called knplabs/knp-paginator-bundle . It already ...
...
- Conclusion: don't install twig/extensions v1.5.3
- Conclusion: don't install twig/extensions v1.5.2
- Conclusion: don't install twig/extensions v1.5.1
- Conclusion: remove doctrine/doctrine-bundle 2.0.7 ...
... Doctrine listener, then Doctrine event subscribers are indeed *always* instantiated. Doctrine event listeners *can* be made lazy, but actually are *not* lazy by default: you need to add a lazy: true option to the tag. Actually ...
Hi,
I must have skipped one page, I don't have the config/packages/doctrine.yaml file. I tried "composer require doctrine/doctrine-bundle" which added "doctrine/doctrine-bundle": "^1.9" in my composer.json but nothing ...
... "DoctrineMigrationsBundle" from namespace "Doctrine\Bundle\MigrationsBundle".
Did you forget a "use" statement for another namespace? in /Users/andy/Projects/Symfony/symfony-doctrine/start/app/AppKernel.php:20
Stack trace:
#0 /Users/andy ...
... => v1.5.0)
- Upgrading composer/package-versions-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 ...
|
{ |
|
// ... lines 2 - 31
|
|
"require-dev": { |
|
// ... lines 33 - 34
|
|
"nelmio/alice": "^2.1", |
|
"doctrine/doctrine-fixtures-bundle": "^2.3" |
|
}, |
|
// ... lines 38 - 66
|
|
} |
See Code Block in Script
... /Projects/Symfony/climate_overflow): failed to open stream: No such file or directory in /home/gary/Projects/Symfony/climate_overflow/vendor/doctrine/persistence/src/Persistence/Mapping/Driver/ColocatedMappingDriver.php ...
... fixtures
composer require --dev doctrine/doctrine-fixtures-bundle
`
all of these commands ended up with the same result:
`
Using version ^3.1 for doctrine/doctrine-fixtures-bundle
./composer.json has been updated
Loading ...
Well,
Here is my composer.json
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.2.*",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine ...
... ",
"prefer-stable": true,
"require": {
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"composer/package-versions-deprecated": "1.11.99.1",
"doctrine/annotations": "^1.0 ...
... >assertResponseStatusCodeSame(500);
$em = self::$container->get('doctrine')->getManager();
$financialstatementtype = new FinancialStatementType();
$financialstatementtype->setFstypeId('2 ...
Hi,
I notice a minor issue when following along with Symfony 5. `make:fixtures` generates ArticleFixtures with `use Doctrine\Common\Persistence\ObjectManager` - note `\Common\` in the namespace path. ArticleFixtures ...
Hey AymDev!
I know the first error :). It's because doctrine/annotations is not compatible with PHP 7.4 unless you have version 1.7.0 or higher. BUT, about a week ago, I made sure that this tutorial was updated. If you ...
... using teh following Doctrine EventSubscriber and am wondering if there is a better way?
```
namespace App\Doctrine;
use App\Entity\ApiToken;
use App\Entity\User;
use Doctrine\ORM\Event\LifecycleEventArgs;
use Doctrine ...
... It doesn't work.
Update to "doctrine/orm": ">2.5.0",
"doctrine/dbal": ">=2.5-dev, ...
... what's the difference between
use Doctrine\Persistence\ObjectManager; and use Doctrine\Common\Persistence\ObjectManager;
2725
Doctrine
Filter Results