I have a problem in this file AbstractToken.php

Notice: serialize() [function.serialize]: "id" returned as member 
variable from __sleep() but does not exist in 
PATH/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php
 on line 136
Notice: serialize() [function.serialize]: "name" returned as member 
variable from __sleep() but does not exist in 
PATH/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php
 on line 136
Notice: serialize() [function.serialize]: "members" returned as 
member variable from __sleep() but does not exist in 
PATH/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php
 on line 136

my security.yml
security:
    encoders:
        Application\HomeBundle\Entity\Member:
            algorithm: plaintext    

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    providers:
       main:
            entity: { class: Application\HomeBundle\Entity\Member, property: 
username }

    firewalls:
        profiler:
            pattern:  ^/_profiler
            security: false

        wdt:
            pattern:  ^/_wdt
            security: false        
            
        file:
            pattern:  ^/file
            security: false

        login:
            pattern:  ^/login$
            security: false

        my_secure_area:
            pattern: /.*
            form_login:
                check_path:                     /login_check
                login_path:                     /login     
            logout: true

    access_control:
        #- { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY, 
requires_channel: https }

-- 
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to