... database-with-doctrine
so I just reverted the repo to the state before installing doctrine and security bundle, and retried going step by step again, things seem to work fine now, thanks for the suggestion and sorry for the late reply!!
Hi SymfonyCasts!
I have a question about error handling in repositories that have dbal queries.
An example of a query is this:
```
...
use Doctrine\DBAL\Query\QueryBuilder;
...
public ...
... ""doctrine_cache", "doctrine", "fos_user", "sensio_framework_extra",
"monolog", "swiftmailer", "framework", "twig", "security"" in /Users/mattias/Documents/www/webtools/config/packages/monolog.
yaml (which is loaded in ...
... to the same value as they did, thereby losing our vote. My solution would be to create functions in the database to up-vote and down-vote in a transaction. I've worked through all the doctrine related tutorials and not ...
... Fatal error: Uncaught ReflectionException: Class "Doctrine\Common\Cache\ArrayCache" does not exist in /opt/www/symfony/vue-symfony/vendor/symfony/dependency-injection/ContainerBuilder.php:1089
`
and similar whenever I ...
... aggregation results and gets a wrong $data object this way with 'results' and 'count'.
Resulting in
Notice: Undefined index: _id
```
"file": "/Users/danny.matthijs/Projects/app/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/UnitOfWork.php",
"line": 2831,
```
...
... cache:clear returned with error code 255
I also tried --with-all-dependencies, composer require nexylan/slack-bundle:2.3.0 , composer update "symfony/*" --with-all-dependencies , composer require doctrine/doctrine ...
... Yeah, I'm 100%(notreally) new to "Symfony" and Doctrine, I mean, not really that new to symfony itself, as I've been using a custom implementation of Silex from a friend for about 2 years, the learning curve into ...
... mysql container. Adding this command line for the mysql service to the docker-compose file takes care of the problem.
```
....
services:
###> doctrine/doctrine-bundle ###
database:
image: 'mysql:latest ...
Hey Denrolya!
That's an interesting question! I've never done it before, but I believe you need a custom normalizer. When you have a paginated response, what really happens (assuming you're using Doctrine ORM) is that ...
... of elements, is there a way to execute this fixture.
`
namespace App\DataFixtures;
use App\Entity\Category;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Persistence\ObjectManager;
use Faker\Factory;
class ...
Hi,
I faced the same issues mentioned below and in the previous video whereby I had to specify api-platform/api-pack "1.2.0" and doctrine/doctrine-migrations-bundle "^2.0" and now I'm getting a connection refused error ...
... require doctrine/doctrine-migrations-bundle "^2.0"
I installed migrations and then tried to create the doctrine:database create it throws this error. I restarted the mysql server and tried several times.
Yo @Arthur!
Are you building a data provider that ultimately pulls from Doctrine? Or is it a completely custom data provider that gets the data from somewhere else? Usually, if I just want to modify how the data is ...
... using an actual Doctrine relationship. In the database, both options result in the same structure: your memo table will have a user_id column. But if you map this as a true ManyToOne relationship, then you *should* be ...
... ) in releasing other Symfony 5 tutorials. However, though they use a different project, the Symfony 4 versions of the next few tutorials - are still quite good and relevant. They are:
* Doctrine relations: https ...
... efficiently by using the doctrine criteria system - https://symfonycasts.com/screencast/doctrine-relations/collection-criteria
Let’s me know if this helps... or if I missed some complication ;).
Cheers!
... (SymfonyCasts
!! keuzevak)\Uitwerkingen\5. Symfony Security - Beautiful Authentication, Powerful Authorization\vendor\doctrine\doct
!! rine-migrations-bundle\DependencyInjection/../Resources/config/).```
I've ...
Hi everybody, I have problem. I dont get name of database after I wrote:SHOW DATABASES. I get just arrows..... Do you have idea where is problem?
bruch@bruch-Latitude-E6520:~/Stažené/code-symfony-doctrine/start$ sudo ...
... instance of Doctrine\Common\Cache\ArrayCache given.
MarkdownTransformer.php:
namespace AppBundle\Service;
use Knp\Bundle\MarkdownBundle\MarkdownParserInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache ...
2726
Doctrine
Filter Results