FOSUserBundle: Missing attributes for model User

Hey, I just ran composer update and for the last commit it seems some attributes were missing on User model class Updating friendsofsymfony/user-bundle dev-master (3015f09 => 507ae09)

/**
     * @var bool
     */
    protected $locked;

    /**
     * @var bool
     */
    protected $expired;

    /**
     * @var \DateTime
     */
    protected $expiresAt;

    /**
     * @var bool
     */
    protected $credentialsExpired;

    /**
     * @var \DateTime
     */
    protected $credentialsExpireAt;

Has someone the same problem?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 49 (12 by maintainers)

Most upvoted comments

And it seems to be cache problem. After flush all REDIS data related to application, composer update had no problem neither the application running. This can be closed! Thanks guys

If you use the APC cache for Doctrine mapping, you need to clear the APC cache, otherwise the cache will still be trying to reference the removed fields until you clear it.