I accidentally tried adding an entity that contains the "age" field of type "radio".
php app/console generate:doctrine:entity --no-interaction --entity=FooBundle:Bar --fields="age:radio ....."
I know that no "radio" type column is available. For that reason I got the error :
Unknown column type "radio" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap().
If this error occurs during database introspection then you might have forgot to register all database types for a Doctrine Type.
Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information.
The problem is that I still get this error even after correcting the fields, I can bet that the erroneous metadata are cached, I tried to remove them but in vain:
I tried all the commands:
I am using PHP 5.5.8, Zend OPcache is disabled, no APC extension is available.
Doctrine is using Doctrine\Common\Cache\ArrayCache as cache driver.
I closed/opened my browser, I rebooted EasyPHP, cleared the symfony cache folders etc.
How can I definitely clear the doctrine cache ?