Symfony 5: Composer deleted WebProfilerBundle while installing gedmo/doctrine-extensions

I encounterd this trouble while trying to install Urlizer (as it was suggested here: and ended up with an error.

I used this command:

$ composer require gedmo/doctrine-extensions

.. got this error:


.. and subsequently got this error in Symfony:

Attempted to load class "WebProfilerBundle" from namespace
"SymfonyBundleWebProfilerBundle". Did you forget a "use" statement
for another namespace?


It seems that composer somehow deleted the whole web-profiler-bundle directory..

Is there any easy way to fix this?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *