Hi,
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: doctrine:cache:clear-metadata doctrine:cache:clear-query doctrine:cache:clear-result 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 ? -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
