Symfony build model error: Unable to return ‘affix’ for unknown CreoleType

When I upgraded my local php to 5.3 version I’ve got the problem that symfony model won’t build.

The error appeared was like: “Unable to return ‘affix’ for unknown CreoleType”

This is Creole issue – it cannot accept LONGVARCHAR and TEXT fields from Symfony schema.

To fix this  please change text constant in CreoleTypes.php file (line 39 in my Creole version).

const TEXT = 30; //php 5.3.0 fix, using an unused int

This is not good solution but you need to build your model somehow. As temporary solution this is OK but we need to wait bugfix from Creole developers.