Category: pdo

ObjectManager isn’t recognized (Declaration must be compatible with FixtureInterface->load)

I have tried to create DataFixtures, I think that my code is correct because if I tried on another project it’s worked. So I don’t understand why just in that my actual project , the Object Manager isn’t working and…

PDO Exception: An exception occurred in driver: could not find driver for mysql

I know it is frequently asked question. But I reviewed and read all of it. Unfortunately I could not find a correct answer for my problem. I am using symfony. I followed the instruction and tutorial on https://symfony.com/doc/current/doctrine.html. all steps…