ramsey/uuid-doctrine

Class 'Ramsey\Uuid\Doctrine\UuidType' not found

methodeprog opened this issue · 5 comments

Dear value member,

On local
Using Symfony 4.0.2 after setting all thing goes well.

On cloud (using clever-cloud)
Class 'Ramsey\Uuid\Doctrine\UuidType' not found in /home/bas/app_dd12c7af-6c95-4761-8b5f-ccc3b06ff0ee/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/Type.php:167

I missed some config ?
Please let me know if possible.

I'm sorry it's taken me so long to respond to this. Were you able to to resolve this issue?

Sometimes this error is a result of the Composer lockfile or classmap getting corrupted in some way. One way to resolve this is to delete composer.lock and vendor/ and run composer install again.

Hi,

I've got the same issue, I tried to delete the composer.lock, vendor and run composer install but still...

Please paste the output of composer info -t here.

EDIT:

After deleting "ramsey/uuid" in my composer.json, deleting the composer.lock, vendor, I ran composer install and composer req ramsey/uuid-doctrine and it works just fine now...

Cheers

Great to hear. Thanks!