Notice are not errror, nor Warnings

The severity level is very low, it is not even something that would break
your project.

Just check that you have uncoment the "notice" display commented in your
php.ini

If errors and warining and notices are not configured to be displayed in
your php.ini then you
have an issue.


2011/3/24 Alvaro Garcia <maxpo...@gmail.com>

> Hi!
>
> The notice is:
> Notice: serialize(): "albumName" returned as member variable from __sleep()
> but does not exist in
> /var/www/wixet/Symfony/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php
>
> The file Wixet.WixetBundle.Entity.User.dcm.xml contains
>
> <many-to-one field="mainAlbum" target-entity="Album" orphan-removal="">
>       <join-columns>
>         <join-column name="main_album_id"
> referenced-column-name="album_id"/>
>       </join-columns>
> </many-to-one>
>
> But if I change it for
>
> <many-to-one field="mainAlbum" target-entity="Album" orphan-removal="" />
>
> (of course also changing the database schema)
> the notice disappear.
>
> The notice appear when I use a different column name than default (use
> main_album_id instead of album_id). The application works fine but this
> notice is very annoying (one notice per album entity attribute).
> I think that my configuration is right because I load all entities from
> database (./app/console doctrine:mapping:import WixetBundle and
> ./app/console doctrine:generate:entities WixetBundle).
>
> I'm just updated to PR8
>
> Thank you
>
>
>  --
> 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
>

-- 
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