>From the trace, the error is occurring when trying to hydrate your
User document and it would seem that the problem is with your mapping.
Do you by any chance have "String" instead of "string" for your field
type?

>From the documentation:
/** @Field(type="string") */

Hope this helps.

On Apr 6, 12:03 pm, Conrad <conrad.barthel...@googlemail.com> wrote:
> I just started with a project using the FOC UserBundle - after some issues I
> finally had the Login form under /login.
> But when I tried to login with a generated user I simply got an error saying
> *Invalid type specified "String"*
> *
> *
> Thats the dev.log entry for this unsuccessful login try (message itself is
> on line 5)http://pastebin.com/Fzz4JVbz
> *
> *
> Ok - so far so good.. looked around a bit and cleared the app/cache/
> directory like a hundred times, cleared the apc cache (I'm using this the
> metadata driver right now) but still the same..
> Also *php app/console cache:clear* just returns:
>
> Invalid type specified "String".
>
> Then I created a new user on the frontend who was successfully saved but on
> the /confirmed page I just had a big Excepetion saying again that class
> String is not defined... from now on I just had a fatal error on every page
> which is very similar to this 
> one:http://www.doctrine-project.org/jira/browse/DDC-913?page=com.atlassia...
>
> The only difference is, I am using PR10 - with no Zend Logger anymore..
> my only idea is that something is still somewhere in the background from a
> previous sf2PR with the Zend Logger still enabled which somehow can't be
> cleared..???
>
> Then I cleared again everything and a final *php app/console cache:clear* at
> least gave me my (still simple) default interface with the login forms
> back... (instead of a fatal error)
> Last try was to upload all on a virtual server... yes had the same error
> after creating a user (which was a success) I get the *Invalid type
> specified "String"* Exception (thats the whole stacktrace of that last
> exception:http://pastebin.com/sh7Uc7Tr)
>
> I would very appreciate it if somebody knows a way/hint out of this.. I just
> don't find out where this 'String' is coming from...
> Thanks,
> Conrad

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to